public class BlobStorePreFetchBatchHandler extends Object implements Callable<BlobStorePreFetchBatchResult>
Modifier and Type | Field and Description |
---|---|
static long |
FETCH_WAIT_TIME |
Constructor and Description |
---|
BlobStorePreFetchBatchHandler(CacheManager cacheManager,
boolean executeByMainThread,
BlobStorePreFetchIteratorBasedHandler caller,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
int |
addEntry(OffHeapRefEntryCacheInfo e) |
BlobStorePreFetchBatchResult |
call() |
BlobStorePreFetchBatchResult |
execute(Context context) |
List<OffHeapRefEntryCacheInfo> |
getEntries() |
BlobStorePreFetchBatchResult |
getReadyResult() |
BlobStorePreFetchBatchResult |
getResult() |
boolean |
hasResult() |
boolean |
isExcecuteByMainThread() |
boolean |
isReadyResult() |
void |
setFuture(Future<BlobStorePreFetchBatchResult> f) |
void |
setResult(BlobStorePreFetchBatchResult res) |
public static final long FETCH_WAIT_TIME
public BlobStorePreFetchBatchHandler(CacheManager cacheManager, boolean executeByMainThread, BlobStorePreFetchIteratorBasedHandler caller, Logger logger)
public int addEntry(OffHeapRefEntryCacheInfo e)
public List<OffHeapRefEntryCacheInfo> getEntries()
public BlobStorePreFetchBatchResult getResult()
public void setResult(BlobStorePreFetchBatchResult res)
public boolean hasResult()
public BlobStorePreFetchBatchResult getReadyResult()
public boolean isReadyResult()
public void setFuture(Future<BlobStorePreFetchBatchResult> f)
public BlobStorePreFetchBatchResult call()
call
in interface Callable<BlobStorePreFetchBatchResult>
public BlobStorePreFetchBatchResult execute(Context context)
public boolean isExcecuteByMainThread()
Copyright © GigaSpaces.