@Taxonomy(stability=UNCOMMITTED) @AMXMBeanMetadata(singleton=true, globalSingleton=true, leaf=true) public interface BulkAccess extends AMXProxy, Singleton, Utility
Because a failure can occur with a particular MBeans, results or failures are communicated back in an array of the exact size of the original ObjectName[]. Examining the results array yields either the result, or a Throwable, if one occured. This is why all results are of type Object[].
Clients wishing to use this interface should note that they may first
need to obtain an ObjectName[] from a Set or Map of AMXProxy. The easiest way
to do this is to use Util#toObjectNames followed by
conversion of the Set to an ObjectName[].
| Modifier and Type | Method and Description |
|---|---|
Object[] |
bulkGetAttribute(ObjectName[] objectNames,
String attributeName)
Call getAttribute( attributeName ) for multiple MBeans.
|
Object[] |
bulkGetAttributeNames(ObjectName[] objectNames)
Call getMBeanInfo().getAttributes() for multiple MBeans, then extracts the
Attribute name from each Attribute.
|
Object[] |
bulkGetAttributes(ObjectName[] objectNames,
String[] attributeNames)
Call getAttributes( attributeNames ) for multiple MBeans.
|
Object[] |
bulkGetMBeanAttributeInfo(ObjectName[] objectNames)
Call getMBeanInfo().getAttributes() for multiple MBeans.
|
Object[] |
bulkGetMBeanInfo(ObjectName[] objectNames)
Call getMBeanInfo() for multiple MBeans.
|
Object[] |
bulkGetMBeanOperationInfo(ObjectName[] objectNames)
Call getMBeanInfo().getOperations() for multiple MBeans.
|
Object[] |
bulkInvoke(ObjectName[] objectNames,
String operationName,
Object[] args,
String[] types)
Call invoke( ...
|
Object[] |
bulkSetAttribute(ObjectName[] objectNames,
Attribute attr)
Call setAttribute( attr ) for multiple MBeans.
|
as, attributeNames, attributesMap, attributesMap, child, child, childrenMap, childrenMap, childrenMaps, childrenSet, extra, invokeOp, invokeOp, java, nameProp, objectName, parent, parentPath, path, type, validgetChildren, getName, getParent@ManagedOperation Object[] bulkGetMBeanInfo(ObjectName[] objectNames)
objectNames - @ManagedOperation Object[] bulkGetMBeanAttributeInfo(ObjectName[] objectNames)
objectNames - @ManagedOperation Object[] bulkGetMBeanOperationInfo(ObjectName[] objectNames)
objectNames - @ManagedOperation Object[] bulkGetAttributeNames(ObjectName[] objectNames)
objectNames - @ManagedOperation Object[] bulkGetAttribute(ObjectName[] objectNames, String attributeName)
objectNames - attributeName - @ManagedOperation Object[] bulkSetAttribute(ObjectName[] objectNames, Attribute attr)
objectNames - attr - @ManagedOperation Object[] bulkGetAttributes(ObjectName[] objectNames, String[] attributeNames)
@ManagedOperation Object[] bulkInvoke(ObjectName[] objectNames, String operationName, Object[] args, String[] types)
WARNING: No guarantee can be made that the MBeans being invoked will not alter their arguments, thus altering the parameters that subsequent MBeans receive when invoked.
objectNames - operationName - args - types - Copyright © 2017. All rights reserved.