public class IDTableFlushTimeManager extends Object implements ILastFlushTimeManager
| 构造器和说明 |
|---|
IDTableFlushTimeManager(IDTable idTable) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
applyNewlyFlushedTimeToFlushedTime() |
void |
clearFlushedTime() |
void |
clearGlobalFlushedTime() |
void |
clearLastTime() |
void |
ensureFlushedTimePartition(long timePartitionId) |
long |
ensureFlushedTimePartitionAndInit(long timePartitionId,
String path,
long initTime) |
void |
ensureLastTimePartition(long timePartitionId) |
long |
getFlushedTime(long timePartitionId,
String path) |
long |
getGlobalFlushedTime(String path) |
long |
getLastTime(long timePartitionId,
String path) |
void |
setMultiDeviceFlushedTime(long timePartitionId,
Map<String,Long> flushedTimeMap) |
void |
setMultiDeviceGlobalFlushedTime(Map<String,Long> globalFlushedTimeMap) |
void |
setMultiDeviceLastTime(long timePartitionId,
Map<String,Long> lastTimeMap) |
void |
setOneDeviceFlushedTime(long timePartitionId,
String path,
long time) |
void |
setOneDeviceGlobalFlushedTime(String path,
long time) |
void |
setOneDeviceLastTime(long timePartitionId,
String path,
long time) |
void |
updateFlushedTime(long timePartitionId,
String path,
long time) |
void |
updateGlobalFlushedTime(String path,
long time) |
void |
updateLastTime(long timePartitionId,
String path,
long time) |
boolean |
updateLatestFlushTime(long partitionId) |
boolean |
updateLatestFlushTimeToPartition(long partitionId,
long latestFlushTime)
update latest flush time for partition id
|
void |
updateNewlyFlushedPartitionLatestFlushedTimeForEachDevice(long partitionId,
String deviceId,
long time) |
public IDTableFlushTimeManager(IDTable idTable)
public void setMultiDeviceLastTime(long timePartitionId,
Map<String,Long> lastTimeMap)
setMultiDeviceLastTime 在接口中 ILastFlushTimeManagerpublic void setOneDeviceLastTime(long timePartitionId,
String path,
long time)
setOneDeviceLastTime 在接口中 ILastFlushTimeManagerpublic void setMultiDeviceFlushedTime(long timePartitionId,
Map<String,Long> flushedTimeMap)
public void setOneDeviceFlushedTime(long timePartitionId,
String path,
long time)
setOneDeviceFlushedTime 在接口中 ILastFlushTimeManagerpublic void setMultiDeviceGlobalFlushedTime(Map<String,Long> globalFlushedTimeMap)
public void setOneDeviceGlobalFlushedTime(String path, long time)
public void updateLastTime(long timePartitionId,
String path,
long time)
updateLastTime 在接口中 ILastFlushTimeManagerpublic void updateFlushedTime(long timePartitionId,
String path,
long time)
updateFlushedTime 在接口中 ILastFlushTimeManagerpublic void updateGlobalFlushedTime(String path, long time)
updateGlobalFlushedTime 在接口中 ILastFlushTimeManagerpublic void updateNewlyFlushedPartitionLatestFlushedTimeForEachDevice(long partitionId,
String deviceId,
long time)
public void ensureLastTimePartition(long timePartitionId)
ensureLastTimePartition 在接口中 ILastFlushTimeManagerpublic void ensureFlushedTimePartition(long timePartitionId)
public long ensureFlushedTimePartitionAndInit(long timePartitionId,
String path,
long initTime)
public void applyNewlyFlushedTimeToFlushedTime()
public boolean updateLatestFlushTimeToPartition(long partitionId,
long latestFlushTime)
updateLatestFlushTimeToPartition 在接口中 ILastFlushTimeManagerpartitionId - partition idlatestFlushTime - lastest flush timepublic boolean updateLatestFlushTime(long partitionId)
updateLatestFlushTime 在接口中 ILastFlushTimeManagerpublic long getFlushedTime(long timePartitionId,
String path)
getFlushedTime 在接口中 ILastFlushTimeManagerpublic long getLastTime(long timePartitionId,
String path)
getLastTime 在接口中 ILastFlushTimeManagerpublic long getGlobalFlushedTime(String path)
getGlobalFlushedTime 在接口中 ILastFlushTimeManagerpublic void clearLastTime()
clearLastTime 在接口中 ILastFlushTimeManagerpublic void clearFlushedTime()
clearFlushedTime 在接口中 ILastFlushTimeManagerpublic void clearGlobalFlushedTime()
clearGlobalFlushedTime 在接口中 ILastFlushTimeManagerCopyright © 2022 The Apache Software Foundation. All rights reserved.