org.glite.lb
public class ContextIL extends Context
Constructor Summary | |
---|---|
ContextIL()
Creates new instance of ContextIL. | |
ContextIL(String prefix) | |
ContextIL(String prefix, String socket, String lib) |
Method Summary | |
---|---|
int | getConnAttempts()
Gets count of connection attempts which is used while sending the message via unix socket.
|
String | getOwner() |
String | getPermissions() |
String | getPrefix() |
int | getRepeatWriteToFile()
Gets count of repeated write to file if some exception is thrown.
|
int | getTimeout()
Gets timeout which is used while sending the message via unix socket.
|
void | log(Event event)
Writes event message to the file and socket.
|
void | setConnAttempts(int connAttempts)
Sets count of connection attempts while sending the message via unix socket.
|
void | setOwner(String owner) |
void | setPermissions(String permissions) |
void | setRepeatWriteToFile(int repeatWriteToFile)
Sets count of repeated write to file if some exception is thrown.
|
void | setTimeout(int timeout)
Sets timeout which is used while sending the message via unix socket.
|
Returns: count of connection attempts
Returns: count of repeated write to file
Returns: timeout
Parameters: event event
Throws: java.lang.IllegalArgumentException if event, prefix or path
Parameters: connAttempts count of connection attempts
Parameters: repeatWriteToFile count of repeated write to file
Parameters: timeout timeout