Package org.openspaces.admin.internal.pu
Interface InternalProcessingUnitInstance
- All Superinterfaces:
AdminAware,DiscoverableComponent,GridComponent,InternalDiscoverableComponent,InternalGridComponent,InternalMachineAware,InternalOperatingSystemAware,InternalOperatingSystemInfoProvider,InternalTransportAware,InternalTransportInfoProvider,InternalVirtualMachineAware,InternalVirtualMachineInfoProvider,InternalZoneAware,Iterable<ServiceDetails>,MachineAware,OperatingSystemAware,ProcessingUnitInstance,StatisticsMonitor,TransportAware,VirtualMachineAware,ZoneAware
- All Known Implementing Classes:
DefaultProcessingUnitInstance
public interface InternalProcessingUnitInstance
extends ProcessingUnitInstance, InternalGridComponent
- Author:
- kimchy
-
Field Summary
Fields inherited from interface org.openspaces.admin.StatisticsMonitor
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddSpaceInstanceIfMatching(SpaceInstance spaceInstance) Adds a space instance only if it is one that the processing unit has started.This method is non-blocking and should used in conjunction withProcessingUnitInstance.getStatistics()orStatisticsMonitor.setStatisticsInterval(long, java.util.concurrent.TimeUnit)longbooleanvoidvoidsetClusterInfo(ClusterInfo clusterInfo) voidsetGridServiceContainer(GridServiceContainer gridServiceContainer) voidsetMemberAliveIndicatorStatus(org.jini.rio.monitor.ServiceFaultDetectionEvent serviceFaultDetectionEvent) voidsetProcessingUnit(ProcessingUnit processingUnit) voidsetProcessingUnitPartition(ProcessingUnitPartition processingUnitPartition) Methods inherited from interface org.openspaces.admin.AdminAware
getAdminMethods inherited from interface org.openspaces.admin.DiscoverableComponent
isDiscoveredMethods inherited from interface org.openspaces.admin.GridComponent
getUidMethods inherited from interface org.openspaces.admin.internal.support.InternalDiscoverableComponent
setDiscoveredMethods inherited from interface org.openspaces.admin.internal.machine.InternalMachineAware
setMachineMethods inherited from interface org.openspaces.admin.internal.os.InternalOperatingSystemAware
setOperatingSystemMethods inherited from interface org.openspaces.admin.internal.os.InternalOperatingSystemInfoProvider
getCurrentTimeInMillis, getOSDetails, getOSStatisticsMethods inherited from interface org.openspaces.admin.internal.transport.InternalTransportAware
setTransportMethods inherited from interface org.openspaces.admin.internal.transport.InternalTransportInfoProvider
disableLRMIMonitoring, enableLRMIMonitoring, fetchLRMIMonitoringDetails, getNIODetails, getNIOStatisticsMethods inherited from interface org.openspaces.admin.internal.vm.InternalVirtualMachineAware
setVirtualMachineMethods inherited from interface org.openspaces.admin.internal.vm.InternalVirtualMachineInfoProvider
getJVMDetails, getJVMStatistics, getUid, runGcMethods inherited from interface org.openspaces.admin.internal.zone.InternalZoneAware
addZoneMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.openspaces.admin.machine.MachineAware
getMachineMethods inherited from interface org.openspaces.admin.os.OperatingSystemAware
getOperatingSystemMethods inherited from interface org.openspaces.admin.pu.ProcessingUnitInstance
decrement, destroy, getAsyncPollingEventContainerDetails, getBackupId, getClusterInfo, getEmbeddedSpaceDetails, getEmbeddedSpacesDetails, getEventContainerDetails, getGridServiceContainer, getId, getInstanceId, getJeeDetails, getMemberAliveIndicatorStatus, getName, getNotifyEventContainerDetails, getPartition, getPollingEventContainerDetails, getProcessingUnit, getProcessingUnitInstanceName, getProperties, getRemotingDetails, getServiceDetailsByServiceId, getServiceDetailsByServiceId, getServiceDetailsByServiceType, getServicesDetailsByServiceType, getSpaceDetails, getSpaceInstance, getSpaceInstances, getStatistics, isEmbeddedSpaces, isJee, relocate, relocate, relocateAndWait, relocateAndWait, relocateAndWait, relocateAndWait, restart, restartAndWait, restartAndWait, waitForSpaceInstance, waitForSpaceInstanceMethods inherited from interface org.openspaces.admin.StatisticsMonitor
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitorMethods inherited from interface org.openspaces.admin.transport.TransportAware
getTransportMethods inherited from interface org.openspaces.admin.vm.VirtualMachineAware
getVirtualMachine
-
Method Details
-
getServiceID
ServiceID getServiceID() -
getGridServiceContainerServiceID
ServiceID getGridServiceContainerServiceID() -
setProcessingUnit
-
setGridServiceContainer
-
setProcessingUnitPartition
-
addSpaceInstanceIfMatching
Adds a space instance only if it is one that the processing unit has started. -
removeSpaceInstance
-
getPUServiceBean
PUServiceBean getPUServiceBean() -
invoke
-
isUndeploying
boolean isUndeploying() -
getProcessingUnitInstanceSimpleName
String getProcessingUnitInstanceSimpleName()- Returns:
- Return instance name without prefix of application name ( if exists )
- Since:
- 8.0.6
-
setMemberAliveIndicatorStatus
void setMemberAliveIndicatorStatus(org.jini.rio.monitor.ServiceFaultDetectionEvent serviceFaultDetectionEvent) -
getLastStatistics
ProcessingUnitInstanceStatistics getLastStatistics()This method is non-blocking and should used in conjunction withProcessingUnitInstance.getStatistics()orStatisticsMonitor.setStatisticsInterval(long, java.util.concurrent.TimeUnit)- Returns:
- the last statistics (regardless of its timestamp), or null if no statistics has been ever collected.
- Since:
- 8.0.6
-
getStatisticsIntervalMilliseconds
long getStatisticsIntervalMilliseconds()- Returns:
- the statistics interval milliseconds
- Since:
- 9.0.0
-
setClusterInfo
-