Package one.microstream.storage.types
Class StorageRequestTaskLoad.Abstract
- java.lang.Object
-
- one.microstream.storage.types.StorageTask.Abstract
-
- one.microstream.storage.types.StorageChannelTask.Abstract<ChunksBuffer>
-
- one.microstream.storage.types.StorageRequestTaskLoad.Abstract
-
- All Implemented Interfaces:
StorageChannelTask,StorageRequestTask,StorageRequestTaskLoad,StorageTask
- Direct Known Subclasses:
StorageRequestTaskLoadByOids.Default,StorageRequestTaskLoadByTids.Default,StorageRequestTaskLoadRoots.Default
- Enclosing interface:
- StorageRequestTaskLoad
public abstract static class StorageRequestTaskLoad.Abstract extends StorageChannelTask.Abstract<ChunksBuffer> implements StorageRequestTaskLoad
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageChannelTask
StorageChannelTask.Abstract<R>
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageRequestTaskLoad
StorageRequestTaskLoad.Abstract
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageTask
StorageTask.Abstract, StorageTask.DummyTask
-
-
Field Summary
-
Fields inherited from class one.microstream.storage.types.StorageChannelTask.Abstract
controller
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstract(long timestamp, int channelCount, StorageOperationController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcomplete(StorageChannel channel, ChunksBuffer result)ChunksBufferresult()protected ChunksBuffer[]resultArray()-
Methods inherited from class one.microstream.storage.types.StorageChannelTask.Abstract
addProblem, channelCount, cleanUp, finishProcessing, hasProblems, incrementCompletionProgress, incrementProcessingProgress, internalProcessBy, isComplete, isProcessed, problemForChannel, problems, processBy, waitOnCompletion, waitOnProcessing
-
Methods inherited from class one.microstream.storage.types.StorageTask.Abstract
awaitNext, next, setNext, timestamp
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.storage.types.StorageTask
awaitNext, hasProblems, isComplete, next, problemForChannel, problems, processBy, setNext, timestamp, waitOnCompletion
-
-
-
-
Constructor Detail
-
Abstract
protected Abstract(long timestamp, int channelCount, StorageOperationController controller)
-
-
Method Detail
-
resultArray
protected final ChunksBuffer[] resultArray()
-
complete
protected void complete(StorageChannel channel, ChunksBuffer result) throws InterruptedException
- Specified by:
completein classStorageChannelTask.Abstract<ChunksBuffer>- Throws:
InterruptedException
-
result
public final ChunksBuffer result() throws StorageExceptionRequest
- Specified by:
resultin interfaceStorageRequestTaskLoad- Throws:
StorageExceptionRequest
-
-