GigaSpaces XAP 9.7.2 API

org.openspaces.pu.container.support
Class CompoundProcessingUnitContainer

java.lang.Object
  extended by org.openspaces.pu.container.support.CompoundProcessingUnitContainer
All Implemented Interfaces:
ProcessingUnitContainer

public class CompoundProcessingUnitContainer
extends Object
implements ProcessingUnitContainer

Compound processing unit container wraps several processing unit containers and allows to close them.

Author:
kimchy

Constructor Summary
CompoundProcessingUnitContainer(ProcessingUnitContainer[] containers)
           
 
Method Summary
 void close()
          Closes the given processing unit container.
 ProcessingUnitContainer[] getProcessingUnitContainers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundProcessingUnitContainer

public CompoundProcessingUnitContainer(ProcessingUnitContainer[] containers)
Method Detail

getProcessingUnitContainers

public ProcessingUnitContainer[] getProcessingUnitContainers()
Returns:
the underlying processing unit containers.
Since:
8.0.3

close

public void close()
           throws CannotCloseContainerException
Description copied from interface: ProcessingUnitContainer
Closes the given processing unit container.

Specified by:
close in interface ProcessingUnitContainer
Throws:
CannotCloseContainerException

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.