Package com.tangosol.net.management
Class MBeanAccessor.SetAttributes
- java.lang.Object
-
- com.tangosol.net.management.MBeanAccessor.SetAttributes
-
- All Implemented Interfaces:
Remote.Function<MBeanServer,Map<String,Map<String,Object>>>
,Serializable
,Function<MBeanServer,Map<String,Map<String,Object>>>
- Enclosing class:
- MBeanAccessor
public static class MBeanAccessor.SetAttributes extends Object implements Remote.Function<MBeanServer,Map<String,Map<String,Object>>>, Serializable
The Remote.Function for theMBeanServerConnection
.setAttributes method.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>
m_mapAttributes
The AttributeList to be updated.protected MBeanAccessor.QueryBuilder.ParsedQuery
m_query
The ParsedQuery to be used to query the MBeans.
-
Constructor Summary
Constructors Constructor Description SetAttributes()
Default constructor.SetAttributes(MBeanAccessor.QueryBuilder.ParsedQuery query, Map<String,Object> mapAttributes)
Construct a SetAttributes object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Map<String,Object>>
apply(MBeanServer mBeanServer)
protected AttributeList
getAttributeList(Map<String,Object> mapEntity)
Convert the entity map to anAttributeList
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.util.function.Remote.Function
andThen, compose
-
-
-
-
Field Detail
-
m_query
protected MBeanAccessor.QueryBuilder.ParsedQuery m_query
The ParsedQuery to be used to query the MBeans.
-
-
Constructor Detail
-
SetAttributes
public SetAttributes()
Default constructor.
-
SetAttributes
public SetAttributes(MBeanAccessor.QueryBuilder.ParsedQuery query, Map<String,Object> mapAttributes)
Construct a SetAttributes object.- Parameters:
query
- the MBean query buildermapAttributes
- the map of attributes to be updated
-
-
Method Detail
-
getAttributeList
protected AttributeList getAttributeList(Map<String,Object> mapEntity)
Convert the entity map to anAttributeList
- Parameters:
mapEntity
- the input entity map- Returns:
- the
AttributeList
-
-