| 限定符和类型 | 类和说明 |
|---|---|
static class |
SegmentIDGenImpl.UpdateThreadFactory |
| 构造器和说明 |
|---|
SegmentIDGenImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
LeafAlloc |
addLeafAlloc(LeafAlloc leafAlloc) |
Result |
get(String key) |
List<LeafAlloc> |
getAllLeafAllocs() |
Map<String,SegmentBuffer> |
getCache() |
IDAllocDao |
getDao() |
Result |
getIdFromSegmentBuffer(SegmentBuffer buffer) |
boolean |
init() |
int |
removeLeafAlloc(String key) |
void |
setDao(IDAllocDao dao) |
void |
updateSegmentFromDb(String key,
Segment segment) |
public Result getIdFromSegmentBuffer(SegmentBuffer buffer)
public Map<String,SegmentBuffer> getCache()
public int removeLeafAlloc(String key)
public IDAllocDao getDao()
public void setDao(IDAllocDao dao)
Copyright © 2022 Meituan-Dianping Group. All rights reserved.