public class RrdMongoDBBackend extends RrdByteArrayBackend
RrdMongoDBBackend class.
buffer
Constructor and Description |
---|
RrdMongoDBBackend(String path,
DBCollection rrdCollection)
Constructor for RrdMongoDBBackend.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This method is required by the base class definition, but it does not
releases any memory resources at all.
|
protected void |
write(long offset,
byte[] bytes)
write.
|
getLength, isCachingAllowed, read, setLength
getPath, readAll
public RrdMongoDBBackend(String path, DBCollection rrdCollection)
Constructor for RrdMongoDBBackend.
path
- a String
object.rrdCollection
- a DBCollection
object.protected void write(long offset, byte[] bytes) throws IOException
write.
write
in class RrdByteArrayBackend
offset
- a long.bytes
- an array of byte.IOException
- if any.public void close() throws IOException
close
in class RrdByteArrayBackend
IOException
- Thrown in case of I/O errorCopyright © 2015. All rights reserved.