RrdNioBackendFactory, RrdNioByteBufferBackendFactory, RrdSafeFileBackendFactorypublic class RrdFileBackendFactory extends RrdBackendFactory
RrdFileBackend objects. This was the default
backend factory in JRobin before 1.4.0 release.| Constructor | Description |
|---|---|
RrdFileBackendFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
exists(String path) |
Method to determine if a file with the given path already exists.
|
String |
getFactoryName() |
Returns the name of this factory.
|
protected RrdBackend |
open(String path,
boolean readOnly) |
Creates RrdFileBackend object for the given file path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefaultFactory, getFactory, isInstanceCreated, registerAndSetAsDefaultFactory, registerFactory, setDefaultFactory, toStringpublic static final String NAME
protected RrdBackend open(String path, boolean readOnly) throws IOException
open in class RrdBackendFactorypath - File pathreadOnly - True, if the file should be accessed in read/only mode.
False otherwise.IOException - Thrown in case of I/O error.protected boolean exists(String path)
exists in class RrdBackendFactorypath - File pathpublic String getFactoryName()
getFactoryName in class RrdBackendFactory