|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteServer | +--java.rmi.server.UnicastRemoteObject | +--de.qfs.lib.logrmi.RemoteLogLevelCallbackImplBase
If a class wants to implement the RemoteLogLevelCallback
interface it should do so by extending this
abstract class instead of UnicastRemoteObject
. That way it doesn't have to care about the RMI stubs,
since they are part of the de.qfs.lib.logrmi package. Otherwise it will
have to make the stubs available itself.
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
RemoteLogLevelCallbackImplBase()
Create a new RemoteLogLevelCallbackImplBase. |
Method Summary | |
abstract void |
disconnect()
End the connection with the RemoteLogLevelCallback. |
abstract int |
getFlushBufferSize()
Get the size of the flush buffer of the callback's application. |
abstract int |
getFlushTriggerLevel()
Get the level that will trigger a flush of the messages saved in the flush buffer of the callback's application. |
abstract java.lang.Object[] |
getLogLevels()
Get the current log levels from the callback. |
abstract int |
getOutputLevel()
Get the current output log level from the callback's application. |
abstract int |
getPostFlushSize()
Get the number of messages to pass unfiltered through the pre-queue stage after a flush happened in the callback's application. |
abstract int |
getPreQueueLevel()
Return the current pre-queue level from the callback's application. |
abstract int |
getQueueSize()
Get the size of log queue of the callback's application. |
abstract boolean |
isDropOnOverflow()
Check whether the callback's application is dropping entries when its log queue overflows. |
abstract boolean |
isQueueing()
Check whether the callback's application is using a log queue. |
abstract void |
removeLogLevel(java.lang.String name)
Callback method for a LogLevelListener to remove the log level for a class or package. |
abstract void |
setDropOnOverflow(boolean drop)
Set whether the callback's application should drop entries when its log queue overflows. |
abstract void |
setFlushBufferSize(int size)
Set the size of the flush buffer of the callback's application. |
abstract 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. |
abstract void |
setLogLevel(java.lang.String name,
int level)
Callback method for a LogLevelListener to change the log level for a class or package. |
abstract void |
setOutputLevel(int level)
Set the output log level for the callback's application. |
abstract 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. |
abstract void |
setPreQueueLevel(int level)
Set the pre-queue level for the callback's application. |
abstract void |
setQueueing(boolean queue)
Set whether the callback's application should use a log queue. |
abstract void |
setQueueSize(int size)
Set the size of log queue of the callback's application. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RemoteLogLevelCallbackImplBase() throws java.rmi.RemoteException
java.rmi.RemoteException
- If something RMI specific goes wrong.Method Detail |
public abstract java.lang.Object[] getLogLevels() throws java.rmi.RemoteException
getLogLevels
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void setLogLevel(java.lang.String name, int level) throws java.rmi.RemoteException
setLogLevel
in interface RemoteLogLevelCallback
name
- The name of the affected class or package.level
- The new log level.java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void removeLogLevel(java.lang.String name) throws java.rmi.RemoteException
removeLogLevel
in interface RemoteLogLevelCallback
name
- The name of the affected class or package.java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract int getOutputLevel() throws java.rmi.RemoteException
getOutputLevel
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void setOutputLevel(int level) throws java.rmi.RemoteException
setOutputLevel
in interface RemoteLogLevelCallback
level
- Output log level to set.java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract int getPreQueueLevel() throws java.rmi.RemoteException
getPreQueueLevel
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void setPreQueueLevel(int level) throws java.rmi.RemoteException
setPreQueueLevel
in interface RemoteLogLevelCallback
level
- The pre-queue level to set.java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract boolean isQueueing() throws java.rmi.RemoteException
isQueueing
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.Log.isQueueing()
public abstract void setQueueing(boolean queue) throws java.rmi.RemoteException
setQueueing
in interface RemoteLogLevelCallback
queue
- Whether to queue log entries.java.rmi.RemoteException
- If something RMI specific goes wrong.Log.setQueueing(boolean)
public abstract int getQueueSize() throws java.rmi.RemoteException
getQueueSize
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.Log.getQueueSize()
public abstract void setQueueSize(int size) throws java.rmi.RemoteException
setQueueSize
in interface RemoteLogLevelCallback
size
- The size of the log queue.java.rmi.RemoteException
- If something RMI specific goes wrong.Log.setQueueSize(int)
public abstract boolean isDropOnOverflow() throws java.rmi.RemoteException
isDropOnOverflow
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.Log.isDropOnOverflow()
public abstract void setDropOnOverflow(boolean drop) throws java.rmi.RemoteException
setDropOnOverflow
in interface RemoteLogLevelCallback
drop
- Whether to drop entries on overflow.java.rmi.RemoteException
- If something RMI specific goes wrong.Log.setDropOnOverflow(boolean)
public abstract int getFlushBufferSize() throws java.rmi.RemoteException
getFlushBufferSize
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void setFlushBufferSize(int size) throws java.rmi.RemoteException
setFlushBufferSize
in interface RemoteLogLevelCallback
size
- The size of the flush buffer.java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract int getFlushTriggerLevel() throws java.rmi.RemoteException
getFlushTriggerLevel
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void setFlushTriggerLevel(int level) throws java.rmi.RemoteException
setFlushTriggerLevel
in interface RemoteLogLevelCallback
level
- The trigger level to set.java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract int getPostFlushSize() throws java.rmi.RemoteException
getPostFlushSize
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void setPostFlushSize(int size) throws java.rmi.RemoteException
setPostFlushSize
in interface RemoteLogLevelCallback
size
- The number of messages to pass.java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void disconnect() throws java.rmi.RemoteException
disconnect
in interface RemoteLogLevelCallback
java.rmi.RemoteException
- If something RMI specific goes wrong.
|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |