Class DefaultDIManager
java.lang.Object
org.openspaces.admin.internal.support.AbstractGridComponent
org.openspaces.admin.internal.support.AbstractAgentGridComponent
org.openspaces.admin.internal.dimanager.DefaultDIManager
- All Implemented Interfaces:
AdminAware, AgentGridComponent, DIManager, DiscoverableComponent, GridComponent, InternalDIManager, InternalMachineAware, InternalOperatingSystemAware, InternalOperatingSystemInfoProvider, InternalAgentGridComponent, InternalDiscoverableComponent, InternalGridComponent, InternalTransportAware, InternalTransportInfoProvider, InternalVirtualMachineAware, InternalVirtualMachineInfoProvider, InternalZoneAware, LogProviderGridComponent, MachineAware, OperatingSystemAware, TransportAware, VirtualMachineAware, ZoneAware
- See Also:
-
Field Summary
Fields inherited from class AbstractGridComponent
admin -
Constructor Summary
ConstructorsConstructorDescriptionDefaultDIManager(ServiceID serviceID, DIManagerService diManagerService, InternalAdmin admin, int agentId, String agentUid, JVMDetails jvmDetails) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanlongReturns the base REST URL DI-Manager is reachable on.getUid()Returns the unique id of the grid component.Returns the DI-Manager component version.inthashCode()logEntries(LogEntryMatcher matcher) Returns the log entries matching the given matcher for the specific grid component.logEntriesDirect(LogEntryMatcher matcher) Same asLogProviderGridComponent.logEntries(com.gigaspaces.log.LogEntryMatcher), but does not try and get the logs from the agent.voidrunGc()voidsetLogLevel(String logger, String level) Sets the level of the given Log4j2 logger on DI-Manager.Methods inherited from class AbstractAgentGridComponent
getAgentId, getAgentUid, getGridServiceAgent, kill, restart, setGridServiceAgentMethods inherited from class AbstractGridComponent
addZone, assertStateChangesPermitted, getAdmin, getJVMDetails, getMachine, getOperatingSystem, getTransport, getVirtualMachine, getZones, isDiscovered, setDiscovered, setMachine, setOperatingSystem, setTransport, setVirtualMachineMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AdminAware
getAdminMethods inherited from interface AgentGridComponent
getAgentId, getGridServiceAgent, kill, restartMethods inherited from interface DiscoverableComponent
isDiscoveredMethods inherited from interface InternalAgentGridComponent
getAgentUid, setGridServiceAgentMethods inherited from interface InternalDiscoverableComponent
setDiscoveredMethods inherited from interface InternalMachineAware
setMachineMethods inherited from interface InternalOperatingSystemAware
setOperatingSystemMethods inherited from interface InternalTransportAware
setTransportMethods inherited from interface InternalVirtualMachineAware
setVirtualMachineMethods inherited from interface InternalVirtualMachineInfoProvider
getJVMDetailsMethods inherited from interface InternalZoneAware
addZoneMethods inherited from interface MachineAware
getMachineMethods inherited from interface OperatingSystemAware
getOperatingSystemMethods inherited from interface TransportAware
getTransportMethods inherited from interface VirtualMachineAware
getVirtualMachine
-
Constructor Details
-
DefaultDIManager
public DefaultDIManager(ServiceID serviceID, DIManagerService diManagerService, InternalAdmin admin, int agentId, String agentUid, JVMDetails jvmDetails)
-
-
Method Details
-
getUid
Description copied from interface:GridComponentReturns the unique id of the grid component.- Specified by:
getUidin interfaceGridComponent- Specified by:
getUidin interfaceInternalVirtualMachineInfoProvider
-
getServiceID
- Specified by:
getServiceIDin interfaceInternalDIManager
-
getVersion
Description copied from interface:DIManagerReturns the DI-Manager component version.- Specified by:
getVersionin interfaceDIManager
-
getRestUrl
Description copied from interface:DIManagerReturns the base REST URL DI-Manager is reachable on.- Specified by:
getRestUrlin interfaceDIManager
-
setLogLevel
Description copied from interface:DIManagerSets the level of the given Log4j2 logger on DI-Manager. Pass an empty string for the root logger.- Specified by:
setLogLevelin interfaceDIManager
-
logEntries
Description copied from interface:LogProviderGridComponentReturns the log entries matching the given matcher for the specific grid component. If it is managed by aGridServiceAgent, will get the log through it instead of creating a load on the actual grid component.- Specified by:
logEntriesin interfaceLogProviderGridComponent- Throws:
AdminException
-
logEntriesDirect
Description copied from interface:LogProviderGridComponentSame asLogProviderGridComponent.logEntries(com.gigaspaces.log.LogEntryMatcher), but does not try and get the logs from the agent.- Specified by:
logEntriesDirectin interfaceLogProviderGridComponent- Throws:
AdminException
-
getNIODetails
- Specified by:
getNIODetailsin interfaceInternalTransportInfoProvider- Throws:
RemoteException
-
getNIOStatistics
- Specified by:
getNIOStatisticsin interfaceInternalTransportInfoProvider- Throws:
RemoteException
-
enableLRMIMonitoring
- Specified by:
enableLRMIMonitoringin interfaceInternalTransportInfoProvider- Throws:
RemoteException
-
disableLRMIMonitoring
- Specified by:
disableLRMIMonitoringin interfaceInternalTransportInfoProvider- Throws:
RemoteException
-
fetchLRMIMonitoringDetails
- Specified by:
fetchLRMIMonitoringDetailsin interfaceInternalTransportInfoProvider- Throws:
RemoteException
-
getCurrentTimeInMillis
- Specified by:
getCurrentTimeInMillisin interfaceInternalOperatingSystemInfoProvider- Throws:
RemoteException
-
getOSDetails
- Specified by:
getOSDetailsin interfaceInternalOperatingSystemInfoProvider- Throws:
RemoteException
-
getOSStatistics
- Specified by:
getOSStatisticsin interfaceInternalOperatingSystemInfoProvider- Throws:
RemoteException
-
getJVMStatistics
- Specified by:
getJVMStatisticsin interfaceInternalVirtualMachineInfoProvider- Throws:
RemoteException
-
runGc
- Specified by:
runGcin interfaceInternalVirtualMachineInfoProvider- Throws:
RemoteException
-
equals
-
hashCode
-