public abstract static class StorageChannelSynchronizingTask.AbstractCompletingTask<R> extends StorageChannelTask.Abstract<R> implements StorageChannelSynchronizingTask
| Modifier and Type | Class and Description |
|---|---|
static class |
StorageChannelSynchronizingTask.AbstractCompletingTask.Dummy |
StorageChannelSynchronizingTask.AbstractCompletingTask<R>StorageChannelTask.Abstract<R>StorageTask.DummyTaskcontroller| Constructor and Description |
|---|
AbstractCompletingTask(long timestamp,
int channelCount,
StorageOperationController controller) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
complete(StorageChannel channel,
R result) |
protected void |
fail(StorageChannel channel,
R result) |
protected R |
internalProcessBy(StorageChannel channel) |
protected void |
postCompletionSuccess(StorageChannel channel,
R result) |
protected void |
succeed(StorageChannel channel,
R result) |
addProblem, channelCount, cleanUp, finishProcessing, hasProblems, incrementCompletionProgress, incrementProcessingProgress, isComplete, isProcessed, problemForChannel, problems, processBy, waitOnCompletion, waitOnProcessingawaitNext, next, setNext, timestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitincrementProcessingProgress, isProcessed, waitOnProcessingaddProblem, incrementCompletionProgressawaitNext, hasProblems, isComplete, next, problemForChannel, problems, processBy, setNext, timestamp, waitOnCompletionpublic AbstractCompletingTask(long timestamp,
int channelCount,
StorageOperationController controller)
protected void succeed(StorageChannel channel, R result)
protected void fail(StorageChannel channel, R result)
protected void postCompletionSuccess(StorageChannel channel, R result) throws InterruptedException
InterruptedExceptionprotected R internalProcessBy(StorageChannel channel)
internalProcessBy in class StorageChannelTask.Abstract<R>protected final void complete(StorageChannel channel, R result) throws InterruptedException
complete in class StorageChannelTask.Abstract<R>InterruptedExceptionCopyright © 2022 MicroStream Software. All rights reserved.