public abstract class RrdFileBackendFactory extends RrdBackendFactory
Every backend factory storing RRD data as ordinary files should inherit from it, some check are done in the code for instanceof.
Constructor and Description |
---|
RrdFileBackendFactory() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
exists(String path)
Determines if a storage with the given path already exists.
|
protected boolean |
shouldValidateHeader(String path)
Determines if the header should be validated.
|
getDefaultFactory, getFactory, getName, open, registerAndSetAsDefaultFactory, registerFactory, setDefaultFactory
protected boolean exists(String path)
exists
in class RrdBackendFactory
path
- Storage pathprotected boolean shouldValidateHeader(String path) throws IOException
shouldValidateHeader
in class RrdBackendFactory
path
- Storage pathIOException
- if header validation failsCopyright © 2015. All rights reserved.