|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessingUnits
Holds one or more ProcessingUnit
s.
Field Summary |
---|
Fields inherited from interface org.openspaces.admin.StatisticsMonitor |
---|
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface org.openspaces.admin.AdminAware |
---|
getAdmin |
Methods inherited from interface org.openspaces.admin.StatisticsMonitor |
---|
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor |
Method Detail |
---|
int getSize()
ProcessingUnit
s.
boolean isEmpty()
true
if there are no currently deployed processing units.
ProcessingUnit[] getProcessingUnits()
ProcessingUnit
s currently deployed.
ProcessingUnit getProcessingUnit(String name)
ProcessingUnit
for the given processing unit name.
Map<String,ProcessingUnit> getNames()
ProcessingUnit
keyed by their respective names.
ProcessingUnit waitFor(String processingUnitName)
ProcessingUnit
.
ProcessingUnit waitFor(String processingUnitName, long timeout, TimeUnit timeUnit)
ProcessingUnit
. Return null
if the processing unit is not deployed
within the specified timeout.
ProcessingUnitAddedEventManager getProcessingUnitAdded()
ProcessingUnitAddedEventListener
s.
ProcessingUnitRemovedEventManager getProcessingUnitRemoved()
ProcessingUnitRemovedEventListener
s.
void addLifecycleListener(ProcessingUnitLifecycleEventListener eventListener)
ProcessingUnitLifecycleEventListener
.
void removeLifecycleListener(ProcessingUnitLifecycleEventListener eventListener)
ProcessingUnitLifecycleEventListener
.
ProcessingUnitInstanceAddedEventManager getProcessingUnitInstanceAdded()
ProcessingUnitInstanceAddedEventListener
s.
ProcessingUnitInstanceRemovedEventManager getProcessingUnitInstanceRemoved()
ProcessingUnitInstanceRemovedEventListener
s.
void addLifecycleListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
ProcessingUnitInstanceLifecycleEventListener
.
void removeLifecycleListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
ProcessingUnitInstanceLifecycleEventListener
.
ManagingGridServiceManagerChangedEventManager getManagingGridServiceManagerChanged()
ManagingGridServiceManagerChangedEvent
s
occurring on any processing unit.
BackupGridServiceManagerChangedEventManager getBackupGridServiceManagerChanged()
BackupGridServiceManagerChangedEvent
s
occurring on any processing unit.
ProcessingUnitStatusChangedEventManager getProcessingUnitStatusChanged()
ProcessingUnitSpaceCorrelatedEvent
s
occurring on any processing unit.
ProcessingUnitInstanceStatisticsChangedEventManager getProcessingUnitInstanceStatisticsChanged()
ProcessingUnitInstanceStatisticsChangedEvent
.
Note, in order to receive events, the virtual machines need to be in a "statistics" monitored state.
ProcessingUnitInstanceProvisionStatusChangedEventManager getProcessingUnitInstanceProvisionStatusChanged()
ProcessingUnitInstanceProvisionStatusChangedEventListener
s.
ProcessingUnitInstanceMemberAliveIndicatorStatusChangedEventManager getProcessingUnitInstanceMemberAliveIndicatorStatusChanged()
ProcessingUnitInstanceMemberAliveIndicatorStatusChangedEventListener
s.
ElasticAutoScalingProgressChangedEventManager getElasticAutoScalingProgressChanged()
ElasticAutoScalingProgressChangedEventListener
sElasticAutoScalingFailureEventManager getElasticAutoScalingFailure()
ElasticAutoScalingFailureEventListener
s
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |