public class AddressControlImpl extends AbstractControl implements AddressControl
storageManager
Constructor and Description |
---|
AddressControlImpl(SimpleString address,
PostOffice postOffice,
PagingManager pagingManager,
StorageManager storageManager,
HierarchicalRepository<Set<Role>> securityRepository) |
Modifier and Type | Method and Description |
---|---|
protected MBeanOperationInfo[] |
fillMBeanOperationInfo() |
String |
getAddress()
Returns the managed address.
|
String[] |
getBindingNames()
Returns the names of all bindings (both queues and diverts) bound to this address
|
long |
getNumberOfBytesPerPage()
Returns the number of bytes used by each page for this address.
|
int |
getNumberOfPages()
Returns the number of pages used by this address.
|
String[] |
getQueueNames()
Returns the names of the queues bound to this address.
|
Object[] |
getRoles()
Returns the roles (name and permissions) associated to this address.
|
String |
getRolesAsJSON()
Returns the roles (name and permissions) associated to this address
using JSON serialization.
|
boolean |
isPaging()
Returns whether this address is paging.
|
blockOnIO, clearIO, getMBeanInfo
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public AddressControlImpl(SimpleString address, PostOffice postOffice, PagingManager pagingManager, StorageManager storageManager, HierarchicalRepository<Set<Role>> securityRepository) throws Exception
Exception
public String getAddress()
AddressControl
getAddress
in interface AddressControl
public String[] getQueueNames() throws Exception
AddressControl
getQueueNames
in interface AddressControl
Exception
public String[] getBindingNames() throws Exception
AddressControl
getBindingNames
in interface AddressControl
Exception
public Object[] getRoles() throws Exception
AddressControl
getRoles
in interface AddressControl
Exception
public String getRolesAsJSON() throws Exception
AddressControl
RoleInfo.from(String)
.getRolesAsJSON
in interface AddressControl
Exception
public long getNumberOfBytesPerPage() throws Exception
AddressControl
getNumberOfBytesPerPage
in interface AddressControl
Exception
public boolean isPaging() throws Exception
AddressControl
isPaging
in interface AddressControl
Exception
public int getNumberOfPages() throws Exception
AddressControl
getNumberOfPages
in interface AddressControl
Exception
protected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo
in class AbstractControl
Copyright © 2018 JBoss by Red Hat. All rights reserved.