public interface EventInterface
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the class instance.
|
long |
getEventFileLength()
Gets the current event file length.
|
String |
getEventFileName()
Gets the current event file name.
|
long |
getMaximumFileSize()
Gets the maximum file size of a trace file.
|
void |
logEvent(ServerEvent e)
Processes a single queued event, e.g.
|
boolean |
rotateInformation()
Rotates the event information if stored in e.g.
|
boolean |
setMaximumFileSize(long maxSize)
Sets the maximum file size of a trace file.
|
void logEvent(ServerEvent e) throws IOException
Note that the methods in this interface can be called from different
threads, so the implementing code may have to be e.g. synchronized
.
IOException
- for file errors.String getEventFileName()
long getEventFileLength()
boolean setMaximumFileSize(long maxSize)
long getMaximumFileSize()
boolean rotateInformation()
Note that the methods in this interface can be called from different
threads, so the implementing code may have to be e.g. synchronized
.
void dispose()
Note that the methods in this interface can be called from different
threads, so the implementing code may have to be e.g. synchronized
.
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.