public interface ProcessingUnits extends Iterable<ProcessingUnit>, AdminAware, StatisticsMonitor
ProcessingUnit
s.DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL
forEach, iterator, spliterator
getAdmin
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor
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
sCopyright © GigaSpaces.