public class RrdJRobin14FileBackendFactory extends RrdBackendFactory
RrdFileBackend
objects. This was the default
backend factory in JRobin before 1.4.0 release.Constructor | Description |
---|---|
RrdJRobin14FileBackendFactory() |
|
RrdJRobin14FileBackendFactory(RrdJRobin14FileBackend.LockMode lockMode) |
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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefaultFactory, getFactory, isInstanceCreated, registerAndSetAsDefaultFactory, registerFactory, setDefaultFactory
public static final String NAME
public RrdJRobin14FileBackendFactory()
public RrdJRobin14FileBackendFactory(RrdJRobin14FileBackend.LockMode lockMode)
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
public String toString()
toString
in class RrdBackendFactory