|
qflib 0.98.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Callback that enables remote access to the log levels of an application as well as the ouput and pre queue levels and the queue and flush buffer parameters.
Log| Method Summary | |
void |
disconnect()
End the connection with the LogLevelCallback. |
int |
getFlushBufferSize()
Get the size of the flush buffer of the callback's application. |
int |
getFlushTriggerLevel()
Get the level that will trigger a flush of the messages saved in the flush buffer of the callback's application. |
java.lang.Object[] |
getLogLevels()
Get the current log levels from the callback. |
int |
getOutputLevel()
Get the current output log level from the callback's application. |
int |
getPostFlushSize()
Get the number of messages to pass unfiltered through the pre-queue stage after a flush happened in the callback's application. |
int |
getPreQueueLevel()
Return the current pre-queue level from the callback's application. |
int |
getQueueSize()
Get the size of log queue of the callback's application. |
boolean |
isDropOnOverflow()
Check whether the callback's application is dropping entries when its log queue overflows. |
boolean |
isQueueing()
Check whether the callback's application is using a log queue. |
void |
removeLogLevel(java.lang.String name)
Callback method for a LogLevelListener to remove the log level for a class or package. |
void |
setDropOnOverflow(boolean drop)
Set whether the callback's application should drop entries when its log queue overflows. |
void |
setFlushBufferSize(int size)
Set the size of the flush buffer of the callback's application. |
void |
setFlushTriggerLevel(int level)
Set the level that will trigger a flush of the messages saved in the flush buffer of the callback's application. |
void |
setLogLevel(java.lang.String name,
int level)
Callback method for a LogLevelListener to change the log level for a class or package. |
void |
setOutputLevel(int level)
Set the output log level for the callback's application. |
void |
setPostFlushSize(int size)
Set the number of messages to pass unfiltered through the pre-queue stage after a flush happened in the callback's application. |
void |
setPreQueueLevel(int level)
Set the pre-queue level for the callback's application. |
void |
setQueueing(boolean queue)
Set whether the callback's application should use a log queue. |
void |
setQueueSize(int size)
Set the size of log queue of the callback's application. |
| Method Detail |
public java.lang.Object[] getLogLevels()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.
public void setLogLevel(java.lang.String name,
int level)
throws java.rmi.RemoteException
name - The name of the affected class or package.level - The new log level.java.rmi.RemoteException - If something RMI specific goes wrong.
public void removeLogLevel(java.lang.String name)
throws java.rmi.RemoteException
name - The name of the affected class or package.java.rmi.RemoteException - If something RMI specific goes wrong.
public int getOutputLevel()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.getOutputLevel()
public void setOutputLevel(int level)
throws java.rmi.RemoteException
level - Output log level to set.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setOutputLevel(int)
public int getPreQueueLevel()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.getPreQueueLevel()
public void setPreQueueLevel(int level)
throws java.rmi.RemoteException
level - The pre-queue level to set.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setPreQueueLevel(int)
public boolean isQueueing()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.isQueueing()
public void setQueueing(boolean queue)
throws java.rmi.RemoteException
queue - Whether to queue log entries.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setQueueing(boolean)
public int getQueueSize()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.getQueueSize()
public void setQueueSize(int size)
throws java.rmi.RemoteException
size - The size of the log queue.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setQueueSize(int)
public boolean isDropOnOverflow()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.isDropOnOverflow()
public void setDropOnOverflow(boolean drop)
throws java.rmi.RemoteException
drop - Whether to drop entries on overflow.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setDropOnOverflow(boolean)
public int getFlushBufferSize()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.getFlushBufferSize()
public void setFlushBufferSize(int size)
throws java.rmi.RemoteException
size - The size of the flush buffer.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setFlushBufferSize(int)
public int getFlushTriggerLevel()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.getFlushTriggerLevel()
public void setFlushTriggerLevel(int level)
throws java.rmi.RemoteException
level - The trigger level to set.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setFlushTriggerLevel(int)
public int getPostFlushSize()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.Log.getPostFlushSize()
public void setPostFlushSize(int size)
throws java.rmi.RemoteException
size - The number of messages to pass.java.rmi.RemoteException - If something RMI specific goes wrong.Log.setPostFlushSize(int)
public void disconnect()
throws java.rmi.RemoteException
java.rmi.RemoteException - If something RMI specific goes wrong.
|
qflib 0.98.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||