org.apache.cayenne.dba
Class PkRange
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PkRange
public PkRange(int curValue,
int maxValue)
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.