Class AbstractTaskEntry<ScopeT>
java.lang.Object
dev.getelements.elements.rt.transact.AbstractTaskEntry<ScopeT>
- All Implemented Interfaces:
TaskEntry<ScopeT>,AutoCloseable
- Direct Known Subclasses:
NullTaskEntry,UnixFSTaskEntryBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.rt.transact.TaskEntry
TaskEntry.OperationalStrategy<ScopeT> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTaskEntry(TaskEntry.OperationalStrategy<ScopeT> operationalStrategy) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleandelete()Clears this entry, if the entry is absent, then this has no effect.booleandeleteTask(TaskId taskId) Finds the scope for theTaskEntry.Gets the tasks associated with thisTaskEntry.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.rt.transact.TaskEntry
close, findOriginalScope, flush, getOriginalScope, getOriginalTasksImmutable, getScope, isAbsent, isPresent
-
Constructor Details
-
AbstractTaskEntry
-
-
Method Details
-
getTasksImmutable
Description copied from interface:TaskEntryGets the tasks associated with thisTaskEntry.- Specified by:
getTasksImmutablein interfaceTaskEntry<ScopeT>- Returns:
- the tasks
-
deleteTask
Description copied from interface:TaskEntry- Specified by:
deleteTaskin interfaceTaskEntry<ScopeT>- Parameters:
taskId- theTaskId
-
addTask
Description copied from interface:TaskEntry -
findScope
Description copied from interface:TaskEntryFinds the scope for theTaskEntry. -
delete
public boolean delete()Description copied from interface:TaskEntryClears this entry, if the entry is absent, then this has no effect.
-