org.openspaces.events.support
Class UnregisterDistributedEventContainerTask
java.lang.Object
org.openspaces.events.support.UnregisterEventContainerTask
org.openspaces.events.support.UnregisterDistributedEventContainerTask
- All Implemented Interfaces:
- AsyncResultsReducer<Boolean,Boolean>, Serializable, DistributedTask<Boolean,Boolean>, Task<Boolean>, ApplicationContextAware
public class UnregisterDistributedEventContainerTask
- extends UnregisterEventContainerTask
- implements DistributedTask<Boolean,Boolean>
A task that unregisters (stops and disposes it) a dynamically added event container in a distributed manner.
(using Polling
or Notify
.
Returns true
if all event containers were found and unregistered, false
otherwise.
- Author:
- kimchy
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openspaces.core.executor.Task |
execute |
UnregisterDistributedEventContainerTask
protected UnregisterDistributedEventContainerTask()
UnregisterDistributedEventContainerTask
public UnregisterDistributedEventContainerTask(String containerName)
reduce
public Boolean reduce(List<AsyncResult<Boolean>> results)
throws Exception
- Specified by:
reduce
in interface AsyncResultsReducer<Boolean,Boolean>
- Throws:
Exception
Copyright © GigaSpaces.