public class PUServiceBeanImpl extends org.jini.rio.jsb.ServiceBeanAdapter implements PUServiceBean, InternalDumpProcessor
activationID, admin, computeResource, computeResourceObserver, context, contextClassLoader, contextMgr, joiner, jsbState, logDirName, mbeanNoticationInfoList, mbeanServer, objectName, proxy, serviceBeanComponent, serviceClassLoader, serviceID, slaThresholdEventAdapter, snapshotter, state, store, uuid
Constructor and Description |
---|
PUServiceBeanImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildInvocableServices() |
protected Object |
createProxy() |
void |
disableLRMIMonitoring()
Disabled lrmi monitoring (gigaspaces internal remoting layer).
|
protected Object |
doStart(org.jini.rio.core.jsb.ServiceBeanContext context) |
void |
enableLRMIMonitoring()
Enables lrmi monitoring (gigaspaces internal remoting layer), this will cause the target to
start track lrmi invocations which can later be viewed by calling.
|
LRMIMonitoringDetails |
fetchLRMIMonitoringDetails()
Return lrmi (gigaspaces internal remoting layer) services monitoring details.
|
ClusterInfo |
getClusterInfo() |
long |
getCurrentTimestamp() |
JVMDetails |
getJVMDetails() |
JVMStatistics |
getJVMStatistics() |
String |
getName() |
NIODetails |
getNIODetails()
Returns the transport configuration.
|
NIOStatistics |
getNIOStatistics()
Returns the transport statistics.
|
OSDetails |
getOSDetails() |
OSStatistics |
getOSStatistics() |
String |
getPresentationName() |
PUDetails |
getPUDetails() |
PUMonitors |
getPUMonitors() |
IJSpace |
getSpaceDirect(ServiceID serviceID) |
DirectSpaceProxyFactory |
getSpaceDirectFactory(ServiceID serviceID) |
RuntimeHolder |
getSpaceRuntimeHolder(ServiceID serviceID) |
StatisticsHolder |
getSpaceStatisticsHolder(ServiceID serviceID) |
String[] |
getZones() |
void |
initialize(org.jini.rio.core.jsb.ServiceBeanContext context)
Override initialize to perform additional initialization
|
protected void |
initializeJMX(Object mbean) |
Object |
invoke(String serviceBeanName,
Map<String,Object> namedArgs) |
boolean |
isAlive()
Return
true if the member is alive or not. |
boolean |
isMemberAliveEnabled()
Should this member be checked to see if it is alive or not.
|
boolean |
isStopping() |
Object[] |
listServiceDetails() |
SpaceMode[] |
listSpacesModes() |
SpaceURL[] |
listSpacesURLs() |
void |
process(InternalDump dump) |
void |
quiesceStateChanged(QuiesceStateChangedEvent quiesceStateChangedEvent) |
void |
runGc() |
void |
stop(boolean force) |
void |
undeployEvent() |
addAttribute, addAttributes, addNotificationListener, advertise, cleanClassLoaders, createObjectName, destroy, destroy, destroyJMX, doAdvertise, doInitialize, exportDo, getAdmin, getAdminExporter, getAssociationManagement, getAssociations, getDiscoveryManager, getExportedProxy, getExporter, getExporter, getJoinManager, getLookupGroups, getNotificationBroadcasterSupport, getNotificationInfo, getProxy, getProxyVerifier, getServiceBeanContext, getServiceID, getServiceProxy, getSLAEventHandler, getStarted, getStartTime, getState, getUuid, initialize, monitor, ping, postDeregister, postRegister, preDeregister, preRegister, removeNotificationListener, removeNotificationListener, setLookupGroups, start, startHeartbeat, unadvertise
fetch, fetch, getConfiguration, getEventTable, getWatchRegistry, register, setConfiguration, setWatchRegistry
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getState
getServiceProxy
getAdmin
monitor, ping, startHeartbeat
register
protected void initializeJMX(Object mbean) throws Exception
initializeJMX
in class org.jini.rio.jsb.ServiceBeanAdapter
Exception
protected Object createProxy()
createProxy
in class org.jini.rio.jsb.ServiceBeanAdapter
protected Object doStart(org.jini.rio.core.jsb.ServiceBeanContext context) throws Exception
doStart
in class org.jini.rio.jsb.ServiceBeanAdapter
Exception
public void initialize(org.jini.rio.core.jsb.ServiceBeanContext context) throws Exception
initialize
in interface org.jini.rio.core.jsb.ServiceBean
initialize
in class org.jini.rio.jsb.ServiceBeanAdapter
Exception
public void stop(boolean force)
stop
in interface org.jini.rio.core.jsb.ServiceBean
stop
in class org.jini.rio.jsb.ServiceBeanAdapter
protected void buildInvocableServices()
public void undeployEvent()
undeployEvent
in class org.jini.rio.jsb.ServiceBeanAdapter
public boolean isMemberAliveEnabled()
PUServiceBean
isMemberAliveEnabled
in interface PUServiceBean
public boolean isAlive() throws Exception
PUServiceBean
true
if the member is alive or not. Exception indicates that the member
is not alive (and allows for further information).isAlive
in interface PUServiceBean
Exception
public IJSpace getSpaceDirect(ServiceID serviceID) throws RemoteException
getSpaceDirect
in interface PUServiceBean
RemoteException
public DirectSpaceProxyFactory getSpaceDirectFactory(ServiceID serviceID) throws RemoteException
getSpaceDirectFactory
in interface PUServiceBean
RemoteException
public RuntimeHolder getSpaceRuntimeHolder(ServiceID serviceID) throws RemoteException
getSpaceRuntimeHolder
in interface PUServiceBean
RemoteException
public StatisticsHolder getSpaceStatisticsHolder(ServiceID serviceID) throws RemoteException
getSpaceStatisticsHolder
in interface PUServiceBean
RemoteException
public SpaceURL[] listSpacesURLs() throws RemoteException
listSpacesURLs
in interface PUServiceBean
RemoteException
public SpaceMode[] listSpacesModes() throws RemoteException
listSpacesModes
in interface PUServiceBean
RemoteException
public PUMonitors getPUMonitors() throws RemoteException
getPUMonitors
in interface PUServiceBean
RemoteException
public PUDetails getPUDetails() throws RemoteException
getPUDetails
in interface PUServiceBean
RemoteException
public String getPresentationName() throws RemoteException
getPresentationName
in interface PUServiceBean
RemoteException
public ClusterInfo getClusterInfo() throws RemoteException
getClusterInfo
in interface PUServiceBean
RemoteException
public Object[] listServiceDetails() throws RemoteException
listServiceDetails
in interface PUServiceBean
RemoteException
public NIODetails getNIODetails() throws RemoteException
NIOInfoProvider
getNIODetails
in interface NIOInfoProvider
RemoteException
public NIOStatistics getNIOStatistics() throws RemoteException
NIOInfoProvider
getNIOStatistics
in interface NIOInfoProvider
RemoteException
public void enableLRMIMonitoring() throws RemoteException
NIOInfoProvider
NIOInfoProvider.fetchLRMIMonitoringDetails()
enableLRMIMonitoring
in interface NIOInfoProvider
RemoteException
public void disableLRMIMonitoring() throws RemoteException
NIOInfoProvider
NIOInfoProvider.enableLRMIMonitoring()
disableLRMIMonitoring
in interface NIOInfoProvider
RemoteException
public LRMIMonitoringDetails fetchLRMIMonitoringDetails() throws RemoteException
NIOInfoProvider
NIOInfoProvider.enableLRMIMonitoring()
fetchLRMIMonitoringDetails
in interface NIOInfoProvider
RemoteException
public long getCurrentTimestamp() throws RemoteException
getCurrentTimestamp
in interface OSInfoProvider
RemoteException
public OSDetails getOSDetails() throws RemoteException
getOSDetails
in interface OSInfoProvider
RemoteException
public OSStatistics getOSStatistics() throws RemoteException
getOSStatistics
in interface OSInfoProvider
RemoteException
public JVMDetails getJVMDetails() throws RemoteException
getJVMDetails
in interface JVMInfoProvider
RemoteException
public JVMStatistics getJVMStatistics() throws RemoteException
getJVMStatistics
in interface JVMInfoProvider
RemoteException
public void runGc() throws RemoteException
runGc
in interface JVMInfoProvider
RemoteException
public String[] getZones() throws RemoteException
getZones
in interface GridZoneProvider
RemoteException
public String getName()
getName
in interface InternalDumpProcessor
public void process(InternalDump dump) throws InternalDumpProcessorFailedException
process
in interface InternalDumpProcessor
InternalDumpProcessorFailedException
public Object invoke(String serviceBeanName, Map<String,Object> namedArgs) throws RemoteException
invoke
in interface PUServiceBean
RemoteException
public boolean isStopping()
isStopping
in interface PUServiceBean
public void quiesceStateChanged(QuiesceStateChangedEvent quiesceStateChangedEvent) throws RemoteException
quiesceStateChanged
in interface QuiesceAware
RemoteException
Copyright © GigaSpaces.