Interface FileLimitStrategy
-
- All Known Implementing Classes:
AutoIncrementedFileLimitStrategy,NoLimitStrategy,RotatingFileLimitStrategy
public interface FileLimitStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.channels.FileChannelgetFileChannel()voidputBytes(long bytes)voidreadWith(RandomAccessFileHandler consumer)voidstart()voidstop()
-
-
-
Method Detail
-
start
void start() throws java.io.IOException- Throws:
java.io.IOException
-
stop
void stop() throws java.io.IOException
- Throws:
java.io.IOException
-
putBytes
void putBytes(long bytes) throws java.io.IOException- Throws:
java.io.IOException
-
readWith
void readWith(RandomAccessFileHandler consumer) throws java.io.IOException
- Throws:
java.io.IOException
-
getFileChannel
java.nio.channels.FileChannel getFileChannel()
-
-