Class JDBCLocalIDManager
- java.lang.Object
-
- 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
Constructors Constructor Description JDBCLocalIDManager()JDBCLocalIDManager(DataSourceProvider dataSourceProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateLocalID(String localID, String sequenceID, long messageNumber)LocalIDManager.BoundMessagegetBoundMessage(String localID)voidmarkSequenceTermination(String sequenceID)Mark all the localIDs associated the specified sequenceID terminatedvoidremoveLocalIDs(Iterator<String> localIDs)
-
-
-
Constructor Detail
-
JDBCLocalIDManager
public JDBCLocalIDManager()
-
JDBCLocalIDManager
public JDBCLocalIDManager(DataSourceProvider dataSourceProvider)
-
-
Method Detail
-
createLocalID
public void createLocalID(String localID, String sequenceID, long messageNumber)
- Specified by:
createLocalIDin interfaceLocalIDManager
-
removeLocalIDs
public void removeLocalIDs(Iterator<String> localIDs)
- Specified by:
removeLocalIDsin interfaceLocalIDManager
-
getBoundMessage
public LocalIDManager.BoundMessage getBoundMessage(String localID)
- Specified by:
getBoundMessagein interfaceLocalIDManager
-
markSequenceTermination
public void markSequenceTermination(String sequenceID)
Description copied from interface:LocalIDManagerMark all the localIDs associated the specified sequenceID terminated- Specified by:
markSequenceTerminationin interfaceLocalIDManager
-
-