public class RrdJRobin14FileBackendFactory extends RrdBackendFactory
RrdFileBackend
objects. This was the default
backend factory in JRobin before 1.4.0 release.修飾子とタイプ | フィールド | 説明 |
---|---|---|
static java.lang.String |
NAME |
factory name, "FILE"
|
コンストラクタ | 説明 |
---|---|
RrdJRobin14FileBackendFactory() |
|
RrdJRobin14FileBackendFactory(RrdJRobin14FileBackend.LockMode lockMode) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
protected boolean |
exists(java.lang.String path) |
Method to determine if a file with the given path already exists.
|
java.lang.String |
getFactoryName() |
Returns the name of this factory.
|
protected RrdBackend |
open(java.lang.String path,
boolean readOnly) |
Creates RrdFileBackend object for the given file path.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefaultFactory, getFactory, isInstanceCreated, registerAndSetAsDefaultFactory, registerFactory, setDefaultFactory
public static final java.lang.String NAME
public RrdJRobin14FileBackendFactory()
public RrdJRobin14FileBackendFactory(RrdJRobin14FileBackend.LockMode lockMode)
protected RrdBackend open(java.lang.String path, boolean readOnly) throws java.io.IOException
open
クラス内 RrdBackendFactory
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.protected boolean exists(java.lang.String path)
exists
クラス内 RrdBackendFactory
path
- File pathpublic java.lang.String getFactoryName()
getFactoryName
クラス内 RrdBackendFactory
public java.lang.String toString()
toString
クラス内 RrdBackendFactory