public class ObjStoreBrowser extends Object implements ObjStoreBrowserMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
OBJ_STORE_BROWSER_HANDLERS |
| Constructor and Description |
|---|
ObjStoreBrowser() |
ObjStoreBrowser(String logDir) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
dump(StringBuilder sb)
Dump info about all registered MBeans
|
UidWrapper |
findUid(String uid)
Deprecated.
use
findUid(com.arjuna.ats.arjuna.common.Uid) ()} instead. |
UidWrapper |
findUid(Uid uid)
See if the given uid has previously been registered as an MBean
|
void |
probe()
See if any new MBeans need to be registered or if any existing MBeans no longer exist
as ObjectStore entries.
|
List<UidWrapper> |
probe(String type)
Register new MBeans of the requested type (or unregister ones whose
corresponding ObjectStore entry has been removed)
|
void |
setExposeAllRecordsAsMBeans(boolean exposeAllLogs) |
boolean |
setType(String osTypeClassName,
String beanTypeClassName)
Tell the browser which beans to use for particular Object Store Action type
|
void |
setTypes(Map<String,String> types)
Deprecated.
|
void |
start()
Initialise the MBean
|
void |
stop()
Unregister all MBeans representing objects in the ObjectStore
represented by this MBean
|
void |
viewSubordinateAtomicActions(boolean enable) |
public static final String OBJ_STORE_BROWSER_HANDLERS
public ObjStoreBrowser()
public ObjStoreBrowser(String logDir)
public void start()
public void stop()
@Deprecated public void setTypes(Map<String,String> types)
types - the list of ObjectStore types that can be represented
as MBeanspublic boolean setType(String osTypeClassName, String beanTypeClassName)
osTypeClassName - beanTypeClassName - public StringBuilder dump(StringBuilder sb)
sb - a buffer to contain the resultpublic UidWrapper findUid(Uid uid)
uid - the unique id representing an ObjectStore entry@Deprecated public UidWrapper findUid(String uid)
findUid(com.arjuna.ats.arjuna.common.Uid) ()} instead.uid - the uidpublic void viewSubordinateAtomicActions(boolean enable)
viewSubordinateAtomicActions in interface ObjStoreBrowserMBeanpublic void setExposeAllRecordsAsMBeans(boolean exposeAllLogs)
setExposeAllRecordsAsMBeans in interface ObjStoreBrowserMBeanpublic void probe()
probe in interface ObjStoreBrowserMBeanpublic List<UidWrapper> probe(String type)
type - the ObjectStore entry typeCopyright © 2015 JBoss by Red Hat. All Rights Reserved.