org.rrd4j.core
Class RrdMongoDBBackend
java.lang.Object
org.rrd4j.core.RrdBackend
org.rrd4j.core.RrdByteArrayBackend
org.rrd4j.core.RrdMongoDBBackend
public class RrdMongoDBBackend
- extends RrdByteArrayBackend
- Author:
- Mathias Bogaert
Method Summary |
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)
Writes an array of bytes to the underlying storage starting from the given
storage offset. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RrdMongoDBBackend
public RrdMongoDBBackend(String path,
com.mongodb.DBCollection rrdCollection)
write
protected void write(long offset,
byte[] bytes)
throws IOException
- Description copied from class:
RrdBackend
- Writes an array of bytes to the underlying storage starting from the given
storage offset.
- Overrides:
write
in class RrdByteArrayBackend
- Parameters:
offset
- Storage offset.bytes
- Array of bytes that should be copied to the underlying storage
- Throws:
IOException
- Thrown in case of I/O error
close
public void close()
throws IOException
- Description copied from class:
RrdByteArrayBackend
- This method is required by the base class definition, but it does not
releases any memory resources at all.
- Overrides:
close
in class RrdByteArrayBackend
- Throws:
IOException
- Thrown in case of I/O error
Copyright © 2011. All Rights Reserved.