RrdNioBackendFactory
, RrdNioByteBufferBackendFactory
, RrdSafeFileBackendFactory
public 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, wait
getDefaultFactory, getFactory, isInstanceCreated, registerAndSetAsDefaultFactory, registerFactory, setDefaultFactory, toString
public static final String NAME
protected RrdBackend open(String path, boolean readOnly) throws IOException
open
in class RrdBackendFactory
path
- 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 RrdBackendFactory
path
- File pathpublic String getFactoryName()
getFactoryName
in class RrdBackendFactory