org.glite.lb
public class ILFileWriter extends java.lang.Object
Constructor and Description |
---|
ILFileWriter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Long |
write(java.lang.String prefix,
java.lang.String message,
int repeatWriteToFile)
Writes message to a file and returns size of this file before writing the
data
|
static java.lang.Long |
write(java.lang.String prefix,
java.lang.String message,
int repeatWriteToFile,
java.lang.String owner,
java.lang.String permissions)
Writes message to a file and returns size of this file before writing the
data
|
public static java.lang.Long write(java.lang.String prefix, java.lang.String message, int repeatWriteToFile, java.lang.String owner, java.lang.String permissions) throws LBException
prefix
- file pathmessage
- message which will be writtenrepeatWriteToFile
- count of attempts to write to file in case of failureLBException
public static java.lang.Long write(java.lang.String prefix, java.lang.String message, int repeatWriteToFile) throws LBException
prefix
- file pathmessage
- message which will be writtenrepeatWriteToFile
- count of attempts to write to file in case of failureLBException