Class SolrRrdBackend

    • Constructor Detail

      • SolrRrdBackend

        public SolrRrdBackend​(SolrRrdBackend other)
        Open an unregistered (throwaway) read-only clone of another backend.
        Parameters:
        other - other backend
    • Method Detail

      • isReadOnly

        public boolean isReadOnly()
      • getLastModifiedTime

        public long getLastModifiedTime()
      • write

        protected void write​(long offset,
                             byte[] bytes)
                      throws IOException
        Overrides:
        write in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • writeShort

        protected void writeShort​(long offset,
                                  short value)
                           throws IOException
        Overrides:
        writeShort in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • writeInt

        protected void writeInt​(long offset,
                                int value)
                         throws IOException
        Overrides:
        writeInt in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • writeLong

        protected void writeLong​(long offset,
                                 long value)
                          throws IOException
        Overrides:
        writeLong in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • writeDouble

        protected void writeDouble​(long offset,
                                   double value)
                            throws IOException
        Overrides:
        writeDouble in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • writeDouble

        protected void writeDouble​(long offset,
                                   double value,
                                   int count)
                            throws IOException
        Overrides:
        writeDouble in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • writeDouble

        protected void writeDouble​(long offset,
                                   double[] values)
                            throws IOException
        Overrides:
        writeDouble in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • writeString

        protected void writeString​(long offset,
                                   String value,
                                   int length)
                            throws IOException
        Overrides:
        writeString in class org.rrd4j.core.ByteBufferBackend
        Throws:
        IOException
      • isDirty

        protected boolean isDirty()
        Overrides:
        isDirty in class org.rrd4j.core.ByteBufferBackend
      • setBuffer

        protected void setBuffer​(byte[] buffer)
        Overrides:
        setBuffer in class org.rrd4j.core.RrdByteArrayBackend
      • setLength

        protected void setLength​(long length)
                          throws IOException
        Overrides:
        setLength in class org.rrd4j.core.RrdByteArrayBackend
        Throws:
        IOException