Class PostgresSequence
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.sql.SQLDatabase
-
- org.cilogon.oauth2.servlet.storage.sequence.Sequence
-
- org.cilogon.oauth2.servlet.storage.sequence.PostgresSequence
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Initializable
,Incrementable
public class PostgresSequence extends Sequence
Created by Jeff Gaynor
on Jun 24, 2010 at 8:19:52 AM
-
-
Constructor Summary
Constructors Constructor Description PostgresSequence(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, PGSequenceTable sequenceTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
nextValue()
-
Methods inherited from class org.cilogon.oauth2.servlet.storage.sequence.Sequence
createNew, createNew, destroy, getSequenceTable, init, isCreated, isDestroyed, isInitialized
-
-
-
-
Constructor Detail
-
PostgresSequence
public PostgresSequence(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, PGSequenceTable sequenceTable)
-
-
Method Detail
-
nextValue
public long nextValue() throws CILogonException
- Throws:
CILogonException
-
-