com.wm.app.tn.db
Interface IJobDequeingStrategy

All Known Implementing Classes:
GivenTaskDequeingStrategy, OldestTaskDequeingStrategy

public interface IJobDequeingStrategy

Represents a strategy for the deque operation OTN-11671

Author:
MABH

Method Summary
 java.lang.String getStrategy()
          Strategy identifier Right now it just returns the SQL identifier string in dbops.sql
 java.lang.Object getStrategyMapEntry(java.lang.String key)
           
 java.sql.PreparedStatement setPreparedStatementFromStrategyMap(java.sql.Connection conn, java.lang.String queue)
           
 void setStrategyMapEntry(java.lang.String key, java.lang.Object value)
           
 

Method Detail

getStrategy

java.lang.String getStrategy()
Strategy identifier Right now it just returns the SQL identifier string in dbops.sql


setStrategyMapEntry

void setStrategyMapEntry(java.lang.String key,
                         java.lang.Object value)

getStrategyMapEntry

java.lang.Object getStrategyMapEntry(java.lang.String key)

setPreparedStatementFromStrategyMap

java.sql.PreparedStatement setPreparedStatementFromStrategyMap(java.sql.Connection conn,
                                                               java.lang.String queue)
                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException