Class AbstractGridComponent
java.lang.Object
org.openspaces.admin.internal.support.AbstractGridComponent
- All Implemented Interfaces:
AdminAware,DiscoverableComponent,GridComponent,InternalMachineAware,InternalOperatingSystemAware,InternalOperatingSystemInfoProvider,InternalDiscoverableComponent,InternalGridComponent,InternalTransportAware,InternalTransportInfoProvider,InternalVirtualMachineAware,InternalVirtualMachineInfoProvider,InternalZoneAware,MachineAware,OperatingSystemAware,TransportAware,VirtualMachineAware,ZoneAware
- Direct Known Subclasses:
AbstractAgentGridComponent,DefaultGridServiceAgent,DefaultProcessingUnitInstance,DefaultSpaceInstance
- Author:
- kimchy
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractGridComponent(InternalAdmin admin, JVMDetails jvmDetails) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidgetAdmin()Returns theAdminassociated with this element.Returns the machine the component is running on.Returns the operating system the grid component is running within.Returns the transport the grid component is using.Returns the virtual machine the grid component is running within.getZones()booleanReturnstrueif the component is currently discovered from the lookup service.voidsetDiscovered(boolean discovered) voidsetMachine(Machine machine) voidsetOperatingSystem(OperatingSystem operatingSystem) voidsetTransport(Transport transport) voidsetVirtualMachine(VirtualMachine virtualMachine) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openspaces.admin.GridComponent
getUidMethods inherited from interface org.openspaces.admin.internal.os.InternalOperatingSystemInfoProvider
getCurrentTimeInMillis, getOSDetails, getOSStatisticsMethods inherited from interface org.openspaces.admin.internal.transport.InternalTransportInfoProvider
disableLRMIMonitoring, enableLRMIMonitoring, fetchLRMIMonitoringDetails, getNIODetails, getNIOStatisticsMethods inherited from interface org.openspaces.admin.internal.vm.InternalVirtualMachineInfoProvider
getJVMStatistics, getUid, runGc
-
Field Details
-
admin
-
-
Constructor Details
-
AbstractGridComponent
-
-
Method Details
-
getAdmin
Description copied from interface:AdminAwareReturns theAdminassociated with this element.- Specified by:
getAdminin interfaceAdminAware
-
setMachine
- Specified by:
setMachinein interfaceInternalMachineAware
-
getMachine
Description copied from interface:MachineAwareReturns the machine the component is running on.- Specified by:
getMachinein interfaceMachineAware
-
setTransport
- Specified by:
setTransportin interfaceInternalTransportAware
-
getTransport
Description copied from interface:TransportAwareReturns the transport the grid component is using.- Specified by:
getTransportin interfaceTransportAware
-
setOperatingSystem
- Specified by:
setOperatingSystemin interfaceInternalOperatingSystemAware
-
getOperatingSystem
Description copied from interface:OperatingSystemAwareReturns the operating system the grid component is running within.- Specified by:
getOperatingSystemin interfaceOperatingSystemAware
-
setVirtualMachine
- Specified by:
setVirtualMachinein interfaceInternalVirtualMachineAware
-
getVirtualMachine
Description copied from interface:VirtualMachineAwareReturns the virtual machine the grid component is running within.- Specified by:
getVirtualMachinein interfaceVirtualMachineAware
-
isDiscovered
public boolean isDiscovered()Description copied from interface:DiscoverableComponentReturnstrueif the component is currently discovered from the lookup service.falseif an event of component removal was sent from the lookup service.- Specified by:
isDiscoveredin interfaceDiscoverableComponent
-
setDiscovered
public void setDiscovered(boolean discovered) - Specified by:
setDiscoveredin interfaceInternalDiscoverableComponent
-
getZones
Description copied from interface:ZoneAware -
addZone
- Specified by:
addZonein interfaceInternalZoneAware
-
assertStateChangesPermitted
protected void assertStateChangesPermitted() -
getJVMDetails
- Specified by:
getJVMDetailsin interfaceInternalVirtualMachineInfoProvider
-