org.gudy.azureus2.pluginsimpl.local.ddb
Class DDBaseValueImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.ddb.DDBaseValueImpl
- All Implemented Interfaces:
- DistributedDatabaseValue
public class DDBaseValueImpl
- extends java.lang.Object
- implements DistributedDatabaseValue
- Author:
- parg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_VALUE_SIZE
protected static int MAX_VALUE_SIZE
DDBaseValueImpl
protected DDBaseValueImpl(DDBaseContactImpl _contact,
java.lang.Object _value,
long _creation_time,
long _version)
throws DistributedDatabaseException
- Throws:
DistributedDatabaseException
DDBaseValueImpl
protected DDBaseValueImpl(DDBaseContactImpl _contact,
byte[] _value_bytes,
long _creation_time,
long _version)
getValue
public java.lang.Object getValue(java.lang.Class c)
throws DistributedDatabaseException
- Specified by:
getValue
in interface DistributedDatabaseValue
- Throws:
DistributedDatabaseException
getBytes
protected byte[] getBytes()
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interface DistributedDatabaseValue
getVersion
public long getVersion()
- Specified by:
getVersion
in interface DistributedDatabaseValue
getContact
public DistributedDatabaseContact getContact()
- Specified by:
getContact
in interface DistributedDatabaseValue