com.sun.xml.ws.rx.rm.runtime.sequence.persistent
Class JDBCLocalIDManager

java.lang.Object
  extended by com.sun.xml.ws.rx.rm.runtime.sequence.persistent.JDBCLocalIDManager
All Implemented Interfaces:
LocalIDManager

public class JDBCLocalIDManager
extends Object
implements LocalIDManager

DROP TABLE RM_LOCALIDS; CREATE TABLE RM_LOCALIDS ( LOCAL_ID VARCHAR(512) NOT NULL, SEQ_ID VARCHAR(256) NOT NULL, MSG_NUMBER BIGINT NOT NULL, CREATE_TIME BIGINT, SEQ_TERMINATE_TIME BIGINT, PRIMARY KEY (LOCAL_ID) );


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.rx.rm.runtime.LocalIDManager
LocalIDManager.BoundMessage
 
Constructor Summary
JDBCLocalIDManager()
           
JDBCLocalIDManager(DataSourceProvider dataSourceProvider)
           
 
Method Summary
 void createLocalID(String localID, String sequenceID, long messageNumber)
           
 LocalIDManager.BoundMessage getBoundMessage(String localID)
           
 void markSequenceTermination(String sequenceID)
          Mark all the localIDs associated the specified sequenceID terminated
 void removeLocalIDs(Iterator<String> localIDs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCLocalIDManager

public JDBCLocalIDManager()

JDBCLocalIDManager

public JDBCLocalIDManager(DataSourceProvider dataSourceProvider)
Method Detail

createLocalID

public void createLocalID(String localID,
                          String sequenceID,
                          long messageNumber)
Specified by:
createLocalID in interface LocalIDManager

removeLocalIDs

public void removeLocalIDs(Iterator<String> localIDs)
Specified by:
removeLocalIDs in interface LocalIDManager

getBoundMessage

public LocalIDManager.BoundMessage getBoundMessage(String localID)
Specified by:
getBoundMessage in interface LocalIDManager

markSequenceTermination

public void markSequenceTermination(String sequenceID)
Description copied from interface: LocalIDManager
Mark all the localIDs associated the specified sequenceID terminated

Specified by:
markSequenceTermination in interface LocalIDManager


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.