Package one.microstream.storage.types
Class StorageTask.Abstract
java.lang.Object
one.microstream.storage.types.StorageTask.Abstract
- All Implemented Interfaces:
StorageTask
- Direct Known Subclasses:
StorageChannelTask.Abstract
,StorageTask.DummyTask
- Enclosing interface:
- StorageTask
public abstract static class StorageTask.Abstract extends Object implements StorageTask
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageTask
StorageTask.Abstract, StorageTask.DummyTask
-
Constructor Summary
Constructors Constructor Description Abstract(long timestamp)
-
Method Summary
Modifier and Type Method Description StorageTask
awaitNext(long ms)
StorageTask
next()
void
setNext(StorageTask next)
long
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
hasProblems, isComplete, problemForChannel, problems, processBy, waitOnCompletion
-
Constructor Details
-
Abstract
public Abstract(long timestamp)
-
-
Method Details
-
awaitNext
- Specified by:
awaitNext
in interfaceStorageTask
- Throws:
InterruptedException
-
next
- Specified by:
next
in interfaceStorageTask
-
setNext
- Specified by:
setNext
in interfaceStorageTask
-
timestamp
public final long timestamp()- Specified by:
timestamp
in interfaceStorageTask
-