|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GatewayProcessingUnits
Holds one or more GatewayProcessingUnit
s.
Method Summary | |
---|---|
void |
addLifecycleListener(GatewayProcessingUnitLifecycleEventListener eventListener)
Allows to add a GatewayProcessingUnitLifecycleEventListener . |
GatewayProcessingUnit |
getGatewayProcessingUnit(String uid)
Returns the GatewayProcessingUnit for the given gateway processing unit name. |
GatewayProcessingUnitAddedEventManager |
getGatewayProcessingUnitAdded()
Returns an event manager allowing to register GatewayProcessingUnitAddedEventListener s. |
GatewayProcessingUnitRemovedEventManager |
getGatewayProcessingUnitRemoved()
Returns an event manager allowing to register GatewayProcessingUnitRemovedEventListener s. |
GatewayProcessingUnit[] |
getGatewayProcessingUnits()
Returns the GatewayProcessingUnit s currently deployed. |
Map<String,GatewayProcessingUnit> |
getNames()
Returns a map of GatewayProcessingUnit keyed by their respective names. |
int |
getSize()
Returns the number of currently deployed GatewayProcessingUnit s. |
boolean |
isEmpty()
Returns true if there are no currently deployed processing units. |
void |
removeLifecycleListener(GatewayProcessingUnitLifecycleEventListener eventListener)
Allows to remove a GatewayProcessingUnitLifecycleEventListener . |
GatewayProcessingUnit |
waitFor(String gatewayProcessingUnitName)
Waits indefinitely till the gateway processing unit is identified as deployed. |
GatewayProcessingUnit |
waitFor(String gatewaysProcessingUnitName,
long timeout,
TimeUnit timeUnit)
Waits for the specified timeout (in time interval) till the processing unit is identified as deployed. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface org.openspaces.admin.AdminAware |
---|
getAdmin |
Method Detail |
---|
int getSize()
GatewayProcessingUnit
s.
boolean isEmpty()
true
if there are no currently deployed processing units.
GatewayProcessingUnit[] getGatewayProcessingUnits()
GatewayProcessingUnit
s currently deployed.
GatewayProcessingUnit getGatewayProcessingUnit(String uid)
GatewayProcessingUnit
for the given gateway processing unit name.
Map<String,GatewayProcessingUnit> getNames()
GatewayProcessingUnit
keyed by their respective names.
GatewayProcessingUnit waitFor(String gatewayProcessingUnitName)
GatewayProcessingUnit
.
GatewayProcessingUnit waitFor(String gatewaysProcessingUnitName, long timeout, TimeUnit timeUnit)
GatewayProcessingUnit
. Return null
if the gateway processing unit is not deployed
within the specified timeout.
GatewayProcessingUnitAddedEventManager getGatewayProcessingUnitAdded()
GatewayProcessingUnitAddedEventListener
s.
GatewayProcessingUnitRemovedEventManager getGatewayProcessingUnitRemoved()
GatewayProcessingUnitRemovedEventListener
s.
void addLifecycleListener(GatewayProcessingUnitLifecycleEventListener eventListener)
GatewayProcessingUnitLifecycleEventListener
.
void removeLifecycleListener(GatewayProcessingUnitLifecycleEventListener eventListener)
GatewayProcessingUnitLifecycleEventListener
.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |