public static class RemoteUsage.Profiles extends Object
Create proxies for Profile Table Usage MBeans and helper classes to read usage parameters.
Modifier and Type | Method and Description |
---|---|
static ProfileTableUsageMBean |
getProfileTableUsageMBean(MBeanServerConnection server,
String profileTableName)
Provides a
ProfileTableUsageMBean proxy object for a profile table. |
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ProfileTableUsageMBean profileTableUsageMBean)
Get a UsageMBean for the unnamed parameter set of a profile table.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ProfileTableUsageMBean profileTableUsageMBean,
int nodeID)
Get a UsageMBean for a named parameter set of a profile table on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ProfileTableUsageMBean profileTableUsageMBean,
String paramSetName)
Get a UsageMBean for a named parameter set of a profile table on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ProfileTableUsageMBean profileTableUsageMBean,
String paramSetName,
int nodeID)
Get a UsageMBean for a named parameter set of a profile table on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String profileTableName)
Get a UsageMBean for the unnamed parameter set of a profile table.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String profileTableName,
int nodeID)
Get a UsageMBean for the unnamed parameter set of a profile table on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String profileTableName,
String paramSetName)
Get a UsageMBean for the specified parameter set of a profile table.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String profileTableName,
String paramSetName,
int nodeID)
Get a UsageMBean for specified parameter set of a profile table on the specified node.
|
static RemoteUsage.UsageNotificationManager |
getUsageNotificationManager(MBeanServerConnection server,
String profileTableName)
|
static RemoteUsage.UsageNotificationManager |
getUsageNotificationManager(MBeanServerConnection server,
String profileTableName,
String upiType)
|
static UsageNotificationManagerMBean |
getUsageNotificationManagerMBean(MBeanServerConnection server,
ProfileTableUsageMBean profileTableUsageMBean)
Get a UsageNotificationManagerMBean for a profile table.
|
static UsageNotificationManagerMBean |
getUsageNotificationManagerMBean(MBeanServerConnection server,
ProfileTableUsageMBean profileTableUsageMBean,
String paramSetType)
Get a UsageNotificationManagerMBean for a profile table.
|
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String profileTableName)
Get a
RemoteUsage.UsageReader . |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String profileTableName,
int nodeID)
Get a
RemoteUsage.UsageReader for the unnamed parameter set on the specified node. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String profileTableName,
String paramSetName)
Get a
RemoteUsage.UsageReader for the specified parameter set. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String profileTableName,
String paramSetName,
int nodeID)
Get a
RemoteUsage.UsageReader for the specified parameter set on the specified node. |
public static ProfileTableUsageMBean getProfileTableUsageMBean(MBeanServerConnection server, String profileTableName) throws NullPointerException, InvalidArgumentException, UnrecognizedProfileTableNameException, ManagementException
Provides a ProfileTableUsageMBean
proxy object for a profile table.
server
- a server connectionprofileTableName
- the name of the profile tableProfileTableUsageMBean
proxyNullPointerException
- if profileTableName is nullUnrecognizedProfileTableNameException
- if the profile table name is unrecognized.InvalidArgumentException
- if the profile specification component that the specified profile table was created from does not define a usage parameters interface.ManagementException
- if the ProfileTableUsageMBean Object Name could not be obtained due to a system-level failure.public static UsageMBean getUsageMBean(MBeanServerConnection server, String profileTableName) throws ManagementException, InvalidArgumentException, UnrecognizedProfileTableNameException
Get a UsageMBean for the unnamed parameter set of a profile table.
server
- a server connectionprofileTableName
- the name of the profile tableInvalidArgumentException
UnrecognizedProfileTableNameException
ManagementException
- if an Object Name could not be obtained due to a system-level failure.public static UsageMBean getUsageMBean(MBeanServerConnection server, String profileTableName, String paramSetName) throws ManagementException, InvalidArgumentException, UnrecognizedProfileTableNameException, UnrecognizedUsageParameterSetNameException
Get a UsageMBean for the specified parameter set of a profile table.
server
- a server connectionprofileTableName
- the name of the profile tableparamSetName
- the name of the usage parameter setInvalidArgumentException
UnrecognizedProfileTableNameException
UnrecognizedUsageParameterSetNameException
ManagementException
- if an Object Name could not be obtained due to a system-level failure.public static UsageMBean getUsageMBean(MBeanServerConnection server, String profileTableName, int nodeID) throws ManagementException, InvalidArgumentException, UnrecognizedProfileTableNameException, UnrecognizedUsageParameterSetNameException
Get a UsageMBean for the unnamed parameter set of a profile table on the specified node.
server
- a server connectionprofileTableName
- the name of the profile tablenodeID
- the node ID of the node whose usage state should be accessed by the Usage MBeanInvalidArgumentException
UnrecognizedProfileTableNameException
UnrecognizedUsageParameterSetNameException
ManagementException
- if an Object Name could not be obtained due to a system-level failure.public static UsageMBean getUsageMBean(MBeanServerConnection server, String profileTableName, String paramSetName, int nodeID) throws ManagementException, InvalidArgumentException, UnrecognizedProfileTableNameException, UnrecognizedUsageParameterSetNameException
Get a UsageMBean for specified parameter set of a profile table on the specified node.
server
- a server connectionprofileTableName
- the name of the profile tableparamSetName
- the name of the usage parameter setnodeID
- the node ID of the node whose usage state should be accessed by the Usage MBeanInvalidArgumentException
UnrecognizedProfileTableNameException
UnrecognizedUsageParameterSetNameException
ManagementException
- if an Object Name could not be obtained due to a system-level failure.public static UsageMBean getUsageMBean(MBeanServerConnection server, ProfileTableUsageMBean profileTableUsageMBean) throws ManagementException
Get a UsageMBean for the unnamed parameter set of a profile table. Use this method if you already have a ProfileTableUsageMBean reference.
server
- a server connectionprofileTableUsageMBean
- ManagementException
public static UsageMBean getUsageMBean(MBeanServerConnection server, ProfileTableUsageMBean profileTableUsageMBean, String paramSetName) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException
Get a UsageMBean for a named parameter set of a profile table on the specified node. Use this method if you already have a ProfileTableUsageMBean reference.
server
- a server connectionprofileTableUsageMBean
- a ProfileTableUsageMBean obtained previouslyparamSetName
- the name of the usage parameter setNullPointerException
UnrecognizedUsageParameterSetNameException
ManagementException
public static UsageMBean getUsageMBean(MBeanServerConnection server, ProfileTableUsageMBean profileTableUsageMBean, int nodeID) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException
Get a UsageMBean for a named parameter set of a profile table on the specified node. Use this method if you already have a ProfileTableUsageMBean reference.
server
- a server connectionprofileTableUsageMBean
- a ProfileTableUsageMBean obtained previouslynodeID
- the node ID of the node whose usage state should be accessed by the Usage MBeanNullPointerException
UnrecognizedUsageParameterSetNameException
ManagementException
public static UsageMBean getUsageMBean(MBeanServerConnection server, ProfileTableUsageMBean profileTableUsageMBean, String paramSetName, int nodeID) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException
Get a UsageMBean for a named parameter set of a profile table on the specified node. Use this method if you already have a ProfileTableUsageMBean reference.
server
- a server connectionprofileTableUsageMBean
- a ProfileTableUsageMBean obtained previouslyparamSetName
- the name of the usage parameter setnodeID
- the node ID of the node whose usage state should be accessed by the Usage MBeanNullPointerException
UnrecognizedUsageParameterSetNameException
ManagementException
public static UsageNotificationManagerMBean getUsageNotificationManagerMBean(MBeanServerConnection server, ProfileTableUsageMBean profileTableUsageMBean) throws ManagementException
Get a UsageNotificationManagerMBean for a profile table.
server
- a server connectionprofileTableUsageMBean
- ManagementException
public static UsageNotificationManagerMBean getUsageNotificationManagerMBean(MBeanServerConnection server, ProfileTableUsageMBean profileTableUsageMBean, String paramSetType) throws UnrecognizedUsageParametersInterfaceTypeException, ManagementException
Get a UsageNotificationManagerMBean for a profile table.
server
- a server connectionprofileTableUsageMBean
- paramSetType
- the usage parameter set typeUnrecognizedUsageParametersInterfaceTypeException
ManagementException
public static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String profileTableName) throws InvalidArgumentException, UnrecognizedProfileTableNameException, ManagementException
Get a RemoteUsage.UsageReader
.
server
- a server connectionprofileTableName
- the name of the profile tableInvalidArgumentException
UnrecognizedProfileTableNameException
ManagementException
public static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String profileTableName, String paramSetName) throws InvalidArgumentException, UnrecognizedProfileTableNameException, ManagementException, UnrecognizedUsageParameterSetNameException
Get a RemoteUsage.UsageReader
for the specified parameter set.
server
- a server connectionprofileTableName
- the name of the profile tableparamSetName
- the name of the usage parameter setInvalidArgumentException
UnrecognizedProfileTableNameException
ManagementException
UnrecognizedUsageParameterSetNameException
public static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String profileTableName, int nodeID) throws InvalidArgumentException, UnrecognizedProfileTableNameException, ManagementException, UnrecognizedUsageParameterSetNameException
Get a RemoteUsage.UsageReader
for the unnamed parameter set on the specified node.
server
- a server connectionprofileTableName
- the name of the profile tablenodeID
- the node ID of the node whose usage state should be accessed by the Usage MBeanInvalidArgumentException
UnrecognizedProfileTableNameException
ManagementException
UnrecognizedUsageParameterSetNameException
public static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String profileTableName, String paramSetName, int nodeID) throws InvalidArgumentException, UnrecognizedProfileTableNameException, ManagementException, UnrecognizedUsageParameterSetNameException
Get a RemoteUsage.UsageReader
for the specified parameter set on the specified node.
server
- a server connectionprofileTableName
- the name of the profile tableparamSetName
- the name of the usage parameter setnodeID
- the node ID of the node whose usage state should be accessed by the Usage MBeanInvalidArgumentException
UnrecognizedProfileTableNameException
ManagementException
UnrecognizedUsageParameterSetNameException
public static RemoteUsage.UsageNotificationManager getUsageNotificationManager(MBeanServerConnection server, String profileTableName) throws InvalidArgumentException, ManagementException, UnrecognizedProfileTableNameException
server
- a server connectionprofileTableName
- InvalidArgumentException
ManagementException
UnrecognizedProfileTableNameException
public static RemoteUsage.UsageNotificationManager getUsageNotificationManager(MBeanServerConnection server, String profileTableName, String upiType) throws InvalidArgumentException, ManagementException, UnrecognizedProfileTableNameException, UnrecognizedUsageParametersInterfaceTypeException
server
- a server connectionprofileTableName
- upiType
- InvalidArgumentException
ManagementException
UnrecognizedProfileTableNameException
UnrecognizedUsageParametersInterfaceTypeException