Package org.cyclos.impl.utils.cluster
Class AbstractClusterHandlerImpl.FinishedExecutionsHandlerImpl
- java.lang.Object
-
- org.cyclos.impl.utils.cluster.AbstractClusterHandlerImpl.FinishedExecutionsHandlerImpl
-
- All Implemented Interfaces:
ClusterHandler.FinishedExecutionsHandler
- Enclosing class:
- AbstractClusterHandlerImpl
public class AbstractClusterHandlerImpl.FinishedExecutionsHandlerImpl extends Object implements ClusterHandler.FinishedExecutionsHandler
-
-
Constructor Summary
Constructors Constructor Description FinishedExecutionsHandlerImpl()FinishedExecutionsHandlerImpl(Set<Long> ids)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Long>ids()Returns the id of the finished executions contained in this handlerbooleanisEmpty()Returns true if no execution is contained in this handlerClusterHandler.FinishedExecutionsHandlerremove()Removed the finished executionsClusterHandler.FinishedExecutionsHandlerupdate()Updates this handler with the new finished executions adding the new ones to the already finished
-
-
-
Method Detail
-
ids
public Set<Long> ids()
Description copied from interface:ClusterHandler.FinishedExecutionsHandlerReturns the id of the finished executions contained in this handler- Specified by:
idsin interfaceClusterHandler.FinishedExecutionsHandler
-
isEmpty
public boolean isEmpty()
Description copied from interface:ClusterHandler.FinishedExecutionsHandlerReturns true if no execution is contained in this handler- Specified by:
isEmptyin interfaceClusterHandler.FinishedExecutionsHandler
-
remove
public ClusterHandler.FinishedExecutionsHandler remove()
Removed the finished executions- Specified by:
removein interfaceClusterHandler.FinishedExecutionsHandler
-
update
public ClusterHandler.FinishedExecutionsHandler update()
Updates this handler with the new finished executions adding the new ones to the already finished- Specified by:
updatein interfaceClusterHandler.FinishedExecutionsHandler
-
-