ozone API

org.ozoneDB.blob
Class BLOBContainerImpl_Proxy

java.lang.Object
  |
  +--org.ozoneDB.OzoneProxy
        |
        +--org.ozoneDB.blob.BLOBContainerImpl_Proxy
All Implemented Interfaces:
BLOBContainer, java.io.Externalizable, OzoneCompatibleOrProxy, OzoneRemote, java.io.Serializable

public final synchronized class BLOBContainerImpl_Proxy
extends OzoneProxy
implements BLOBContainer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ozoneDB.OzoneProxy
link, linkTable, remoteID
 
Constructor Summary
BLOBContainerImpl_Proxy()
           
BLOBContainerImpl_Proxy(org.ozoneDB.core.ObjectID, OzoneInterface)
           
 
Method Summary
 int available(int)
           
static BLOBContainer createObject(OzoneInterface)
           
 org.ozoneDB.core.ObjectID getObjectID()
          Returns the ObjectID of the represented ozone object.
 void init(int)
           
 byte[] read(int, int)
           
 void write(int, byte[], int, int)
           
 
Methods inherited from class org.ozoneDB.OzoneProxy
createProxyLinkAttributes, equals, finalize, handle, hashCode, invoke, invoke, invoke, invoke, isSame, readExternal, remoteID, toString, writeExternal
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BLOBContainerImpl_Proxy

public BLOBContainerImpl_Proxy()

BLOBContainerImpl_Proxy

public BLOBContainerImpl_Proxy(org.ozoneDB.core.ObjectID,
                               OzoneInterface)
Method Detail

createObject

public static final BLOBContainer createObject(OzoneInterface)

write

public final void write(int,
                        byte[],
                        int,
                        int)
                 throws java.lang.Exception
Specified by:
write in interface BLOBContainer
java.lang.Exception

init

public final void init(int)
Specified by:
init in interface BLOBContainer

read

public final byte[] read(int,
                         int)
                  throws java.lang.Exception
Specified by:
read in interface BLOBContainer
java.lang.Exception

available

public final int available(int)
                    throws java.lang.Exception
Specified by:
available in interface BLOBContainer
java.lang.Exception

getObjectID

public final org.ozoneDB.core.ObjectID getObjectID()
Description copied from interface: OzoneCompatibleOrProxy
Returns the ObjectID of the represented ozone object. ObjectIDs are equal for equal ozone objects and different for different ozone objects. They are comparable, so that ozone objects may use {@link ObjectID#compareTo) in comparison functions.

Currently, ObjectID exposes other methods than {@link ObjectID#equals) and {@link ObjectID#compareTo). However, they should not be used, as ObjectIDs should be, apart from this methods, opaque.

Specified by:
getObjectID in interface OzoneCompatibleOrProxy
Overrides:
getObjectID in class OzoneProxy

ozone API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.