ozone core API

org.ozoneDB.core.DbRemote
Class DbNextID

java.lang.Object
  |
  +--org.ozoneDB.DxLib.DxObject
        |
        +--org.ozoneDB.core.DbRemote.DbCommand
              |
              +--org.ozoneDB.core.DbRemote.DbNextID
All Implemented Interfaces:
java.lang.Cloneable, DxCompatible, java.io.Serializable

public final class DbNextID
extends DbCommand

Version:
$Revision: 1.1 $Date: 2001/12/18 10:31:30 $
Author:
SMB
See Also:
Serialized Form

Field Summary
private  long range
           
 
Fields inherited from class org.ozoneDB.core.DbRemote.DbCommand
env, proxyObjectGate, result
 
Fields inherited from class org.ozoneDB.DxLib.DxObject
 
Constructor Summary
DbNextID(long _range)
           
 
Method Summary
 void perform(Transaction ta)
          Perform whatever has to be done for this command.
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class org.ozoneDB.core.DbRemote.DbCommand
getProxyObjectGate, setProxyObjectGate, shouldResultBeSentToClient, toString
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
clone, isLess
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals
 

Field Detail

range

private long range
Constructor Detail

DbNextID

public DbNextID(long _range)
Method Detail

perform

public void perform(Transaction ta)
             throws java.lang.Exception
Description copied from class: DbCommand
Perform whatever has to be done for this command. This method is called within a transaction, within a thread. The result of the command goes in the result member.

Specified by:
perform in class DbCommand
java.lang.Exception

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException

ozone core API

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