org.glite.lb
public class ContextIL extends Context
| Constructor and Description |
|---|
ContextIL()
Creates new instance of ContextIL.
|
ContextIL(java.lang.String prefix) |
ContextIL(java.lang.String prefix,
java.lang.String socket,
java.lang.String lib) |
| Modifier and Type | Method and Description |
|---|---|
int |
getConnAttempts()
Gets count of connection attempts which is used while sending the message via unix socket.
|
java.lang.String |
getOwner() |
java.lang.String |
getPermissions() |
java.lang.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(java.lang.String owner) |
void |
setPermissions(java.lang.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.
|
createMessage, getFlag, getHost, getJobid, getProg, getSeqCode, getSource, getSrcInstance, getUser, setFlag, setHost, setJobid, setProg, setSeqCode, setSource, setSrcInstance, setUserpublic ContextIL()
public ContextIL(java.lang.String prefix)
public ContextIL(java.lang.String prefix,
java.lang.String socket,
java.lang.String lib)
public void log(Event event) throws LBException
log in class Contextevent - eventjava.lang.IllegalArgumentException - if event, prefix or pathLBExceptionpublic java.lang.String getPrefix()
public int getRepeatWriteToFile()
public void setRepeatWriteToFile(int repeatWriteToFile)
repeatWriteToFile - count of repeated write to filepublic int getConnAttempts()
public void setConnAttempts(int connAttempts)
connAttempts - count of connection attemptspublic int getTimeout()
public void setTimeout(int timeout)
timeout - timeoutpublic java.lang.String getPermissions()
public void setPermissions(java.lang.String permissions)
public java.lang.String getOwner()
public void setOwner(java.lang.String owner)