org.apache.cayenne.dba
Class PkRange

java.lang.Object
  extended by org.apache.cayenne.dba.PkRange

public final class PkRange
extends java.lang.Object

Represents data structure to maintain a range of cached primary keys.

Author:
Andrei Adamchik

Constructor Summary
PkRange(int curValue, int maxValue)
           
 
Method Summary
 java.lang.Integer getNextPrimaryKey()
           
 boolean isExhausted()
           
 void reset(int curValue, int maxValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PkRange

public PkRange(int curValue,
               int maxValue)
Method Detail

reset

public void reset(int curValue,
                  int maxValue)

isExhausted

public boolean isExhausted()

getNextPrimaryKey

public java.lang.Integer getNextPrimaryKey()


Copyright © 2001-2006 Apache.org All Rights Reserved.