Package one.microstream.storage.types
Class StorageChannelTask.Abstract<R>
java.lang.Object
one.microstream.storage.types.StorageTask.Abstract
one.microstream.storage.types.StorageChannelTask.Abstract<R>
- All Implemented Interfaces:
 StorageChannelTask,StorageTask
- Direct Known Subclasses:
 StorageChannelSynchronizingTask.AbstractCompletingTask,StorageRequestTaskLoad.Abstract
- Enclosing interface:
 - StorageChannelTask
 
public abstract static class StorageChannelTask.Abstract<R> extends StorageTask.Abstract implements StorageChannelTask
- 
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.StorageTask
StorageTask.Abstract, StorageTask.DummyTask - 
Constructor Summary
Constructors Constructor Description Abstract(long timestamp, int channelCount) - 
Method Summary
Modifier and Type Method Description voidaddProblem(int hashIndex, Throwable problem)booleanhasProblems()voidincrementCompletionProgress()voidincrementProcessingProgress()booleanisComplete()booleanisProcessed()ThrowableproblemForChannel(StorageChannel channel)Throwable[]problems()voidprocessBy(StorageChannel storageChannel)voidwaitOnCompletion()voidwaitOnProcessing()Methods inherited from class one.microstream.storage.types.StorageTask.Abstract
awaitNext, next, setNext, timestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.storage.types.StorageTask
awaitNext, next, setNext, timestamp 
- 
Constructor Details
- 
Abstract
public Abstract(long timestamp, int channelCount) 
 - 
 - 
Method Details
- 
incrementCompletionProgress
public final void incrementCompletionProgress()- Specified by:
 incrementCompletionProgressin interfaceStorageChannelTask
 - 
isComplete
public final boolean isComplete()- Specified by:
 isCompletein interfaceStorageTask
 - 
waitOnCompletion
- Specified by:
 waitOnCompletionin interfaceStorageTask- Throws:
 InterruptedException
 - 
hasProblems
public final boolean hasProblems()- Specified by:
 hasProblemsin interfaceStorageTask
 - 
problems
- Specified by:
 problemsin interfaceStorageTask
 - 
problemForChannel
- Specified by:
 problemForChannelin interfaceStorageTask
 - 
addProblem
- Specified by:
 addProblemin interfaceStorageChannelTask
 - 
isProcessed
public final boolean isProcessed() - 
waitOnProcessing
- Throws:
 InterruptedException
 - 
incrementProcessingProgress
public final void incrementProcessingProgress() - 
processBy
- Specified by:
 processByin interfaceStorageTask- Throws:
 InterruptedException
 
 -