Class AbstractStore.StoreMutableArea

    • Constructor Detail

      • StoreMutableArea

        public StoreMutableArea​(long id,
                                long pointer)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • StoreMutableArea

        public StoreMutableArea​(long id,
                                long pointer,
                                long fixed_size)
                         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • checkOut

        public void checkOut()
                      throws java.io.IOException
        Description copied from interface: MutableArea
        Checks out all changes made to this area. This should be called after a series of updates have been made to the area and the final change is to be 'finalized'. When this method returns, any new Area or MutableArea objects created by the backing store will contain the changes made to this object. Any changes made to the Area may or may not be made to any already existing areas.

        In a logging implementation, this may flush out the changes made to the area in a log.

        Specified by:
        checkOut in interface MutableArea
        Throws:
        java.io.IOException
      • put

        public void put​(byte b)
                 throws java.io.IOException
        Specified by:
        put in interface MutableArea
        Throws:
        java.io.IOException
      • put

        public void put​(byte[] buf,
                        int off,
                        int len)
                 throws java.io.IOException
        Specified by:
        put in interface MutableArea
        Throws:
        java.io.IOException
      • put

        public void put​(byte[] buf)
                 throws java.io.IOException
        Specified by:
        put in interface MutableArea
        Throws:
        java.io.IOException
      • putShort

        public void putShort​(short s)
                      throws java.io.IOException
        Specified by:
        putShort in interface MutableArea
        Throws:
        java.io.IOException
      • putInt

        public void putInt​(int i)
                    throws java.io.IOException
        Specified by:
        putInt in interface MutableArea
        Throws:
        java.io.IOException
      • putLong

        public void putLong​(long l)
                     throws java.io.IOException
        Specified by:
        putLong in interface MutableArea
        Throws:
        java.io.IOException
      • putChar

        public void putChar​(char c)
                     throws java.io.IOException
        Specified by:
        putChar in interface MutableArea
        Throws:
        java.io.IOException