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
-
-
-
-
Method Detail
-
awaitNext
public final StorageTask awaitNext(long ms) throws InterruptedException
- Specified by:
awaitNext
in interfaceStorageTask
- Throws:
InterruptedException
-
next
public final StorageTask next()
- Specified by:
next
in interfaceStorageTask
-
setNext
public final void setNext(StorageTask next)
- Specified by:
setNext
in interfaceStorageTask
-
timestamp
public final long timestamp()
- Specified by:
timestamp
in interfaceStorageTask
-
-