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 the
MBeanServerConnection.setAttributes
method.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe AttributeList to be updated.protected MBeanAccessor.QueryBuilder.ParsedQueryThe ParsedQuery to be used to query the MBeans. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SetAttributes(MBeanAccessor.QueryBuilder.ParsedQuery query, Map<String, Object> mapAttributes) Construct a SetAttributes object. -
Method Summary
Modifier and TypeMethodDescriptionapply(MBeanServer mBeanServer) protected AttributeListgetAttributeList(Map<String, Object> mapEntity) Convert the entity map to anAttributeListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.util.function.Remote.Function
andThen, compose
-
Field Details
-
m_query
The ParsedQuery to be used to query the MBeans. -
m_mapAttributes
The AttributeList to be updated.
-
-
Constructor Details
-
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 Details
-
apply
-
getAttributeList
Convert the entity map to anAttributeList- Parameters:
mapEntity- the input entity map- Returns:
- the
AttributeList
-