public class RrdNioBackendFactory extends RrdFileBackendFactory
RrdNioBackend
objects. This is
the default factory since 1.4.0 version修飾子とタイプ | フィールド | 説明 |
---|---|---|
static int |
DEFAULT_SYNC_PERIOD |
Period in seconds between consecutive synchronizations when sync-mode
is set to SYNC_BACKGROUND.
|
static java.lang.String |
NAME |
factory name, "NIO"
|
コンストラクタ | 説明 |
---|---|
RrdNioBackendFactory() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
protected void |
finalize() |
|
java.lang.String |
getFactoryName() |
Returns the name of this factory.
|
(package private) SyncManager |
getSyncManager() |
|
static int |
getSyncPeriod() |
Returns time between two consecutive background synchronizations.
|
protected RrdBackend |
open(java.lang.String path,
boolean readOnly) |
Creates RrdNioBackend object for the given file path.
|
static void |
setSyncPeriod(int syncPeriod) |
Sets time between consecutive background synchronizations.
|
void |
shutdown() |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefaultFactory, getFactory, isInstanceCreated, registerAndSetAsDefaultFactory, registerFactory, setDefaultFactory, toString
exists
public static final int DEFAULT_SYNC_PERIOD
setSyncPeriod(int)
method.public static final java.lang.String NAME
public static int getSyncPeriod()
setSyncPeriod(int)
method call, defaults to
DEFAULT_SYNC_PERIOD
. See setSyncPeriod(int)
for more
information.public static void setSyncPeriod(int syncPeriod)
syncPeriod
- Time in seconds between consecutive background
synchronizations.protected RrdBackend open(java.lang.String path, boolean readOnly) throws java.io.IOException
open
クラス内 RrdFileBackendFactory
path
- File pathreadOnly
- True, if the file should be accessed in read/only mode.
False otherwise.java.io.IOException
- Thrown in case of I/O error.public void shutdown()
public java.lang.String getFactoryName()
getFactoryName
クラス内 RrdFileBackendFactory
protected void finalize() throws java.lang.Throwable
finalize
クラス内 java.lang.Object
java.lang.Throwable
SyncManager getSyncManager()