public class DefaultLookupService extends AbstractAgentGridComponent implements InternalLookupService
admin| Constructor and Description |
|---|
DefaultLookupService(ServiceRegistrar registrar,
ServiceID serviceID,
InternalAdmin admin,
int agentId,
String agentUid,
JVMDetails jvmDetails) |
getAgentId, getAgentUid, getGridServiceAgent, kill, restart, setGridServiceAgentaddZone, assertStateChangesPermitted, getAdmin, getJVMDetails, getMachine, getOperatingSystem, getTransport, getVirtualMachine, getZones, isDiscovered, setDiscovered, setMachine, setOperatingSystem, setTransport, setVirtualMachineclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAgentUid, setGridServiceAgentgetAgentId, getGridServiceAgent, kill, restartgetAdminsetDiscoveredisDiscoveredsetMachinegetMachinesetTransportgetTransportsetOperatingSystemgetOperatingSystemgetJVMDetailssetVirtualMachinegetVirtualMachineaddZonepublic DefaultLookupService(ServiceRegistrar registrar, ServiceID serviceID, InternalAdmin admin, int agentId, String agentUid, JVMDetails jvmDetails)
public String getUid()
GridComponentgetUid in interface GridComponentgetUid in interface InternalVirtualMachineInfoProviderpublic ServiceID getServiceID()
getServiceID in interface InternalLookupServicepublic String[] getLookupGroups()
getLookupGroups in interface LookupServicepublic LookupLocator getLookupLocator()
getLookupLocator in interface LookupServicepublic ServiceRegistrar getRegistrar()
getRegistrar in interface InternalLookupServicepublic LogEntries logEntries(LogEntryMatcher matcher) throws AdminException
LogProviderGridComponentGridServiceAgent, will get the log through it
instead of creating a load on the actual grid component.logEntries in interface LogProviderGridComponentAdminExceptionpublic LogEntries logEntriesDirect(LogEntryMatcher matcher) throws AdminException
LogProviderGridComponentLogProviderGridComponent.logEntries(com.gigaspaces.log.LogEntryMatcher), but does not try and get the
logs from the agent.logEntriesDirect in interface LogProviderGridComponentAdminExceptionpublic void reloadMetricConfiguration()
throws AdminException
reloadMetricConfiguration in interface MetricProviderAdminExceptionpublic DumpResult generateDump(String cause, Map<String,Object> context) throws AdminException
DumpProvidergenerateDump in interface DumpProvidercause - The cause that this dump was generatedcontext - Allows to provide specific parameters to specific processorsAdminExceptionpublic DumpResult generateDump(String cause, Map<String,Object> context, String... processors) throws AdminException
DumpProvidergenerateDump in interface DumpProvidercause - The cause this dump was generated.context - Allows to provide specific parameters to specific processors.processors - The list of processors to be used.AdminExceptionpublic NIODetails getNIODetails() throws RemoteException
getNIODetails in interface InternalTransportInfoProviderRemoteExceptionpublic NIOStatistics getNIOStatistics() throws RemoteException
getNIOStatistics in interface InternalTransportInfoProviderRemoteExceptionpublic void enableLRMIMonitoring()
throws RemoteException
enableLRMIMonitoring in interface InternalTransportInfoProviderRemoteExceptionpublic void disableLRMIMonitoring()
throws RemoteException
disableLRMIMonitoring in interface InternalTransportInfoProviderRemoteExceptionpublic LRMIMonitoringDetails fetchLRMIMonitoringDetails() throws RemoteException
fetchLRMIMonitoringDetails in interface InternalTransportInfoProviderRemoteExceptionpublic long getCurrentTimeInMillis()
throws RemoteException
getCurrentTimeInMillis in interface InternalOperatingSystemInfoProviderRemoteExceptionpublic OSDetails getOSDetails() throws RemoteException
getOSDetails in interface InternalOperatingSystemInfoProviderRemoteExceptionpublic OSStatistics getOSStatistics() throws RemoteException
getOSStatistics in interface InternalOperatingSystemInfoProviderRemoteExceptionpublic JVMStatistics getJVMStatistics() throws RemoteException
getJVMStatistics in interface InternalVirtualMachineInfoProviderRemoteExceptionpublic void runGc()
throws RemoteException
runGc in interface InternalVirtualMachineInfoProviderRemoteExceptionCopyright © GigaSpaces.