GigaSpaces XAP 8.0 API

org.openspaces.events.support
Class UnregisterDistributedEventContainerTask

java.lang.Object
  extended by org.openspaces.events.support.UnregisterEventContainerTask
      extended by 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

Constructor Summary
protected UnregisterDistributedEventContainerTask()
           
  UnregisterDistributedEventContainerTask(String containerName)
           
 
Method Summary
 Boolean reduce(List<AsyncResult<Boolean>> results)
           
 
Methods inherited from class org.openspaces.events.support.UnregisterEventContainerTask
execute, setApplicationContext
 
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
 

Constructor Detail

UnregisterDistributedEventContainerTask

protected UnregisterDistributedEventContainerTask()

UnregisterDistributedEventContainerTask

public UnregisterDistributedEventContainerTask(String containerName)
Method Detail

reduce

public Boolean reduce(List<AsyncResult<Boolean>> results)
               throws Exception
Specified by:
reduce in interface AsyncResultsReducer<Boolean,Boolean>
Throws:
Exception

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.