public abstract class AbstractGridComponent extends Object implements InternalGridComponent
| Modifier and Type | Field and Description |
|---|---|
protected InternalAdmin |
admin |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGridComponent(InternalAdmin admin,
JVMDetails jvmDetails) |
| Modifier and Type | Method and Description |
|---|---|
void |
addZone(Zone zone) |
protected void |
assertStateChangesPermitted() |
Admin |
getAdmin()
Returns the
Admin associated with this element. |
JVMDetails |
getJVMDetails() |
Machine |
getMachine()
Returns the machine the component is running on.
|
OperatingSystem |
getOperatingSystem()
Returns the operating system the grid component is running within.
|
Transport |
getTransport()
Returns the transport the grid component is using.
|
VirtualMachine |
getVirtualMachine()
Returns the virtual machine the grid component is running within.
|
Map<String,Zone> |
getZones()
|
boolean |
isDiscovered()
Returns
true if the component is currently discovered from the lookup service. |
void |
setDiscovered(boolean discovered) |
void |
setMachine(Machine machine) |
void |
setOperatingSystem(OperatingSystem operatingSystem) |
void |
setTransport(Transport transport) |
void |
setVirtualMachine(VirtualMachine virtualMachine) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUiddisableLRMIMonitoring, enableLRMIMonitoring, fetchLRMIMonitoringDetails, getNIODetails, getNIOStatisticsgetCurrentTimeInMillis, getOSDetails, getOSStatisticsgetJVMStatistics, getUid, runGcprotected final InternalAdmin admin
protected AbstractGridComponent(InternalAdmin admin, JVMDetails jvmDetails)
public Admin getAdmin()
AdminAwareAdmin associated with this element.getAdmin in interface AdminAwarepublic void setMachine(Machine machine)
setMachine in interface InternalMachineAwarepublic Machine getMachine()
MachineAwaregetMachine in interface MachineAwarepublic void setTransport(Transport transport)
setTransport in interface InternalTransportAwarepublic Transport getTransport()
TransportAwaregetTransport in interface TransportAwarepublic void setOperatingSystem(OperatingSystem operatingSystem)
setOperatingSystem in interface InternalOperatingSystemAwarepublic OperatingSystem getOperatingSystem()
OperatingSystemAwaregetOperatingSystem in interface OperatingSystemAwarepublic void setVirtualMachine(VirtualMachine virtualMachine)
setVirtualMachine in interface InternalVirtualMachineAwarepublic VirtualMachine getVirtualMachine()
VirtualMachineAwaregetVirtualMachine in interface VirtualMachineAwarepublic boolean isDiscovered()
DiscoverableComponenttrue if the component is currently discovered from the lookup service.
false if an event of component removal was sent from the lookup service.isDiscovered in interface DiscoverableComponentpublic void setDiscovered(boolean discovered)
setDiscovered in interface InternalDiscoverableComponentpublic void addZone(Zone zone)
addZone in interface InternalZoneAwareprotected void assertStateChangesPermitted()
public JVMDetails getJVMDetails()
getJVMDetails in interface InternalVirtualMachineInfoProviderCopyright © GigaSpaces.