| Modifier and Type | Field and Description |
|---|---|
| protected LockControl |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static String | debugLockString(CompatibilitySpace compatibilitySpace, Object group, Lockable ref, Object qualifier, int timeout)
|
| public String | diag()
Implements org. Default implementation of diagnostic on the object. |
| public void | diag_detail(Properties
In/out argument for passing information prop)Implements org. Default implementation of detail diagnostic on the object. |
| public void |
| control | back to summary |
|---|---|
| protected LockControl control | |
| D_LockControl | back to summary |
|---|---|
| public D_LockControl() | |
| debugAddThreadInfo | back to summary |
|---|---|
| pack-priv static void debugAddThreadInfo(StringBuffer sb) | |
| debugAppendObject | back to summary |
|---|---|
| pack-priv static void debugAppendObject(StringBuffer sb, String desc, Object item) | |
| debugLock | back to summary |
|---|---|
| pack-priv static void debugLock(String type, CompatibilitySpace compatibilitySpace, Object group, Lockable ref, Object qualifier, int timeout) | |
| debugLock | back to summary |
|---|---|
| pack-priv static void debugLock(String type, CompatibilitySpace compatibilitySpace, Object group) | |
| debugLock | back to summary |
|---|---|
| pack-priv static void debugLock(String type, CompatibilitySpace compatibilitySpace, Object group, Lockable ref) | |
| debugLockString | back to summary |
|---|---|
| pack-priv static String debugLockString(CompatibilitySpace compatibilitySpace, Object group) | |
| debugLockString | back to summary |
|---|---|
| pack-priv static String debugLockString(CompatibilitySpace compatibilitySpace, Object group, Lockable ref) | |
| debugLockString | back to summary |
|---|---|
| pack-priv static String debugLockString(CompatibilitySpace compatibilitySpace, Object group, Lockable ref, Object qualifier, int timeout) | |
| diag | back to summary |
|---|---|
| public String diag() throws StandardException Implements org. Doc from org. Default implementation of diagnostic on the object. This routine returns a string with whatever diagnostic information you would like to provide about this associated object passed in the init() call. This routine should be overriden by a real implementation of the diagnostic information you would like to provide.
| |
| diag_detail | back to summary |
|---|---|
| public void diag_detail(Properties prop) Implements org. Doc from org. Default implementation of detail diagnostic on the object. This interface provides a way for an object to pass back pieces of information as requested by the caller. The information is passed back and forth through the properties argument. It is expected that the caller knows what kind of information to ask for, and correctly handles the situation when the diagnostic object can't provide the information. As an example assume an object TABLE exists, and that we have created an object D_TABLE that knows how to return the number of pages in the TABLE object. The code to get that information out would looks something like the following: print_num_pages(Object table) { Properties prop = new Properties(); prop.put(Page.DIAG_NUM_PAGES, ""); DiagnosticUtil.findDiagnostic(table).diag_detail(prop); System.out.println( "number of pages = " + prop.getProperty(Page.DIAG_NUM_PAGES)); } This routine should be overriden if there is detail diagnostics to be provided by a real implementation.
| |
| init | back to summary |
|---|---|
| public void init(Object obj) Implements org. | |