public class RrdSafeFileBackend extends RrdFileBackend
| 修飾子とタイプ | クラス | 説明 |
|---|---|---|
(package private) static class |
RrdSafeFileBackend.Counters |
file| コンストラクタ | 説明 |
|---|---|
RrdSafeFileBackend(java.lang.String path,
long lockWaitTime,
long lockRetryPeriod) |
Creates RrdFileBackend object for the given file path, backed by RandomAccessFile object.
|
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
void |
close() |
Closes the underlying RRD file.
|
static java.lang.String |
getLockInfo() |
|
protected boolean |
isCachingAllowed() |
Defines the caching policy for this backend.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPath, isInstanceCreated, isReadOnly, readAll, readDouble, readDouble, readInt, readLong, readString, writeDouble, writeDouble, writeDouble, writeInt, writeLong, writeStringgetCanonicalPath, getCanonicalPath, getLength, read, setLength, writepublic RrdSafeFileBackend(java.lang.String path,
long lockWaitTime,
long lockRetryPeriod)
throws java.io.IOException
path - Path to a filelockWaitTime - lock waiting time in millisecondslockRetryPeriod - lock retry period in millisecondsjava.io.IOException - Thrown in case of I/O errorpublic void close()
throws java.io.IOException
RrdFileBackendclose クラス内 RrdFileBackendjava.io.IOException - Thrown in case of I/O errorprotected boolean isCachingAllowed()
isCachingAllowed クラス内 RrdBackendfalsepublic static java.lang.String getLockInfo()