Package com.j_spaces.jmx
Class JMXSpace
java.lang.Object
com.j_spaces.jmx.AbstractDynamicMBean
com.j_spaces.jmx.XMLDescriptorsMBean
com.j_spaces.jmx.JMXSpace
- All Implemented Interfaces:
DynamicMBean
Copyright (c) 2010 GigaSpaces Technologies Ltd. All rights reserved
The software source code is proprietary and confidential information of GigaSpaces. You may use
the software source code solely under the terms and limitations of The license agreement granted
to you by GigaSpaces.
-
Field Summary
FieldsFields inherited from class com.j_spaces.jmx.AbstractDynamicMBean
THIS_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected void__setConfig(Object config) Implements the abstract methods of AbstractDynamicMBeanvoidRemoves the entries that match the specified template from this space.intReturns the number of entries.getAttribute(String attributeName) Allows the value of the specified attribute of the Dynamic MBean to be obtained.Object[]getSpace()Return the JavaSpace objectgetState()getStatistics(Integer operationCode) String[]getTemplatesInfo(String className) getURL()booleanbooleanvoidping()Checks whether the space is alive and accessible.voidsetStatisticsSamplingRate(long rate) voidspaceCopy(String remoteUrl, Entry template, Boolean includeNotifyTemplatesObj, Integer chunkSizeObj) Methods inherited from class com.j_spaces.jmx.XMLDescriptorsMBean
getTypeMethods inherited from class com.j_spaces.jmx.AbstractDynamicMBean
addMBeanAttributeInfo, addMBeanConstructorInfo, addMBeanNotificationInfo, addMBeanOperationInfo, createMBeanAttributesInfo, createMBeanConstructorsInfo, createMBeanNotificationsInfo, createMBeanOperationsInfo, getAttributes, getMBeanDescription, getMBeanInfo, invoke, setAttribute, setAttributes, setMBeanDescription, toLowCase, toUpperCase
-
Field Details
-
m_spaceConfig
-
-
Constructor Details
-
JMXSpace
public JMXSpace() -
JMXSpace
- Throws:
Exception
-
-
Method Details
-
__setConfig
Implements the abstract methods of AbstractDynamicMBean- Specified by:
__setConfigin classAbstractDynamicMBean
-
__getConfig
- Specified by:
__getConfigin classAbstractDynamicMBean
-
getAttribute
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException Allows the value of the specified attribute of the Dynamic MBean to be obtained.- Specified by:
getAttributein interfaceDynamicMBean- Overrides:
getAttributein classAbstractDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
clear
public void clear(String className) throws RemoteException, TransactionException, UnusableEntryException Removes the entries that match the specified template from this space. -
count
public int count(String className) throws RemoteException, TransactionException, UnusableEntryException Returns the number of entries. -
getSpace
Return the JavaSpace object -
getSpaceName
-
ping
Checks whether the space is alive and accessible.- Throws:
RemoteException
-
getState
- Throws:
RemoteException
-
getStateString
- Throws:
RemoteException
-
getClusterPolicy
- Throws:
RemoteException
-
getReplicationStatus
- Throws:
RemoteException
-
getRuntimeInfo
- Throws:
RemoteException
-
getTemplatesInfo
- Throws:
RemoteException
-
spaceCopy
public void spaceCopy(String remoteUrl, Entry template, Boolean includeNotifyTemplatesObj, Integer chunkSizeObj) throws RemoteException - Throws:
RemoteException
-
isEmbedded
- Throws:
RemoteException
-
isStatisticsAvailable
- Throws:
RemoteException
-
getStatisticsStringArray
- Throws:
RemoteException
-
setStatisticsSamplingRate
- Throws:
RemoteException
-
getStatisticsSamplingRate
- Throws:
RemoteException
-
getStatistics
- Throws:
RemoteException
-
getURL
- Throws:
RemoteException
-