Package org.rrd4j.core
Class RrdRandomAccessFileBackendFactory
- java.lang.Object
-
- org.rrd4j.core.RrdBackendFactory
-
- org.rrd4j.core.RrdFileBackendFactory
-
- org.rrd4j.core.RrdRandomAccessFileBackendFactory
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
RrdSafeFileBackendFactory
@RrdBackendAnnotation(name="FILE", shouldValidateHeader=true) public class RrdRandomAccessFileBackendFactory extends RrdFileBackendFactory
Factory class which creates actualRrdRandomAccessFileBackend
objects. This was the default backend factory in Rrd4j before 1.4.0 release.
-
-
Field Summary
-
Fields inherited from class org.rrd4j.core.RrdBackendFactory
cachingAllowed, DEFAULTFACTORY, name, scheme, validateHeader
-
-
Constructor Summary
Constructors Constructor Description RrdRandomAccessFileBackendFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RrdBackend
open(String path, boolean readOnly)
Creates RrdFileBackend object for the given file path.-
Methods inherited from class org.rrd4j.core.RrdFileBackendFactory
canStore, exists, getCanonicalUri, getPath, getUri
-
Methods inherited from class org.rrd4j.core.RrdBackendFactory
addActiveFactories, addFactories, buildGenericUri, checkClosing, close, exists, findFactory, getActiveFactories, getBackend, getBackend, getDefaultFactory, getFactory, getName, getRootUri, getScheme, registerAndSetAsDefaultFactory, registerFactory, resolve, setActiveFactories, setDefaultFactory, shouldValidateHeader, shouldValidateHeader
-
-
-
-
Method Detail
-
open
protected RrdBackend open(String path, boolean readOnly) throws IOException
Creates RrdFileBackend object for the given file path.- Specified by:
open
in classRrdBackendFactory
- Throws:
IOException
-
-