wt.fv
Class StreamIdPool

java.lang.Object
  extended bywt.fv.StreamIdPool

public class StreamIdPool
extends Object


Field Summary
private  long offset
           
private static StreamIdPool pool
           
private static long POOL_SIZE
           
private  long poolValue
           
private static String SEQ_NAME
           
 
Constructor Summary
StreamIdPool()
           
 
Method Summary
(package private)  long getnextId()
           
static long getStreamId()
           
private  void refreshPool()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pool

private static StreamIdPool pool

SEQ_NAME

private static String SEQ_NAME

POOL_SIZE

private static long POOL_SIZE

offset

private long offset

poolValue

private long poolValue
Constructor Detail

StreamIdPool

public StreamIdPool()
Method Detail

getStreamId

public static long getStreamId()
                        throws WTException
Throws:
WTException

getnextId

long getnextId()
         throws WTException
Throws:
WTException

refreshPool

private void refreshPool()
                  throws WTException
Throws:
WTException