|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Reliability, Availability, and Service (RAS) Class
This interface is used by TWGRas for outputting RAS trace messages.
Method Summary | |
---|---|
void |
formatDebug(long component,
java.lang.String message)
Format a debug message |
void |
formatDebug(long component,
java.lang.String message,
java.lang.Throwable e)
|
void |
formatDebugH(long component,
java.lang.String message)
|
void |
formatDebugH(long component,
java.lang.String message,
java.lang.Throwable e)
|
void |
formatDump(long component,
java.lang.String message,
byte[] data,
int dataLength)
Format a "dump" message |
void |
formatDumpH(long component,
java.lang.String message,
byte[] data,
int dataLength)
|
void |
formatEntry(long component,
java.lang.String message)
Format an "entry" trace item |
void |
formatEntryExit(long component,
java.lang.String message)
Format an "entry/exit" trace item |
void |
formatEntryExitH(long component,
java.lang.String message)
|
void |
formatEntryH(long component,
java.lang.String message)
|
void |
formatError(long component,
java.lang.String message)
Format an "error" trace item |
void |
formatError(long component,
java.lang.String message,
java.lang.Throwable e)
|
void |
formatExit(long component,
java.lang.String message)
Format an "exit" trace item |
void |
formatExitH(long component,
java.lang.String message)
|
long |
getComponents()
Return the current component mask |
int |
getTypes()
Return the current type values |
void |
setComponent(long newComponent)
Add one or more components to the current component mask |
void |
setMaxFileSize(int maxFileSize)
Set the maximum size the log engine will allow the log file for this RAS log to grow before rolling it over to a back-up file and starting a new log file. |
void |
setType(int newType)
Add one or more types to the current type mask |
void |
term()
|
boolean |
traceOn(long component,
int types)
Determine if the specified component and type combination currently have tracing enabled |
void |
unsetComponent(long delComponent)
Remove one or more components from the current component mask |
void |
unsetType(int delType)
Unset TYPE(s) from the current TYPE values |
void |
updateParms()
|
Method Detail |
public void formatEntry(long component, java.lang.String message)
component
- component making the flow trace callmessage
- message to put in RAS logpublic void formatEntryH(long component, java.lang.String message)
public void formatEntryExit(long component, java.lang.String message)
component
- component making the flow trace callmessage
- message to put in RAS logpublic void formatEntryExitH(long component, java.lang.String message)
public void formatExit(long component, java.lang.String message)
component
- component making the flow trace callmessage
- message to put in RAS logpublic void formatExitH(long component, java.lang.String message)
public void formatDebug(long component, java.lang.String message)
component
- component making the flow trace callmessage
- message to put in RAS logpublic void formatDebugH(long component, java.lang.String message)
public void formatDebug(long component, java.lang.String message, java.lang.Throwable e)
public void formatDebugH(long component, java.lang.String message, java.lang.Throwable e)
public void formatError(long component, java.lang.String message)
component
- component making the flow trace callmessage
- message to put in RAS logpublic void formatError(long component, java.lang.String message, java.lang.Throwable e)
public void formatDump(long component, java.lang.String message, byte[] data, int dataLength)
component
- component making the dump callmessage
- descriptive message for the data area being dumpeddataLength
- length of data area to be dumpeddata
- data area to be dumpedpublic void formatDumpH(long component, java.lang.String message, byte[] data, int dataLength)
public boolean traceOn(long component, int types)
public long getComponents()
public void setComponent(long newComponent)
public void unsetComponent(long delComponent)
public int getTypes()
public void setType(int newType)
public void unsetType(int delType)
public void setMaxFileSize(int maxFileSize)
maxFileSize
- The maximum size to allow the log file to grow before
it is renamed to logName.bak and reopened. So,
the maximum amount of log data ranges from
maxFileSize to 2*maxFileSize.public void updateParms()
public void term()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |