oracle.AQ
クラス AQDequeueOption

java.lang.Object
  |
  +--oracle.AQ.AQDequeueOption
 

public class AQDequeueOption
extends java.lang.Object

AQのデキュー・オプション。


フィールドの概要
static int DEQUEUE_BROWSE
           
static int DEQUEUE_LOCKED
           
static int DEQUEUE_REMOVE
           
static int DEQUEUE_REMOVE_NODATA
           
static int NAVIGATION_FIRST_MESSAGE
           
static int NAVIGATION_NEXT_MESSAGE
           
static int NAVIGATION_NEXT_TRANSACTION
           
static int VISIBILITY_IMMEDIATE
           
static int VISIBILITY_ONCOMMIT
           
static int WAIT_FOREVER
           
static int WAIT_NONE
           
 
コンストラクタの概要
AQDequeueOption()
           
 
メソッドの概要
 java.lang.String getConsumerName()
          コンシューマの名前を取得します。
 java.lang.String getCorrelation()
          相関IDを取得します。
 int getDequeueMode()
          デキュー・モードを取得します。戻り値は、DEQUEUE_BROWSE、DEQUEUE_LOCKED、DEQUEUE_REMOVEまたはDEQUEUE_REMOVE_NODATAのいずれかです。
 byte[] getMessageId()
          メッセージIDを取得します。
 int getNavigationMode()
          ナビゲーション・モードを取得します。戻り値は、NAVIGATION_FIRST_MESSAGE、NAVIGATION_NEXT_MESSAGEまたはNAVIGATION_NEXT_TRANSACTIONのいずれかです。
 int getVisibility()
          可視性を取得します。戻り値は、AQConstants.VISIBILITY_IMMEDIATEまたはAQConstants.VISIBILITY_ONCOMMITです。
 int getWaitTime()
          待機時間を取得します。WAIT_FOREVER、WAIT_NONEまたは実際の時間が秒数で返されます。
 void setConsumerName(java.lang.String consumer_name)
          コンシューマの名前を設定します。
 void setCorrelation(java.lang.String correlation)
          相関IDを設定します。
 void setDequeueMode(int dequeue_mode)
          デキュー・モードを設定します。
 void setMessageId(byte[] message_id)
          メッセージIDを設定します。
 void setNavigationMode(int navigation)
          ナビゲーション・モードを設定します。
 void setVisibility(int visibility)
          可視性を設定します。AQConstants.VISIBILITY_IMMEDIATEまたはAQConstants.VISIBILITY_ONCOMMITです。
 void setWaitTime(int wait_time)
          待機時間(WAIT_FOREVER、WAIT_NONEまたは秒数)を設定します。
 
クラス java.lang.Objectから継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NAVIGATION_FIRST_MESSAGE

public static final int NAVIGATION_FIRST_MESSAGE 

NAVIGATION_NEXT_TRANSACTION

public static final int NAVIGATION_NEXT_TRANSACTION 

NAVIGATION_NEXT_MESSAGE

public static final int NAVIGATION_NEXT_MESSAGE 

DEQUEUE_BROWSE

public static final int DEQUEUE_BROWSE 

DEQUEUE_LOCKED

public static final int DEQUEUE_LOCKED 

DEQUEUE_REMOVE

public static final int DEQUEUE_REMOVE 

DEQUEUE_REMOVE_NODATA

public static final int DEQUEUE_REMOVE_NODATA 

WAIT_FOREVER

public static final int WAIT_FOREVER 

WAIT_NONE

public static final int WAIT_NONE 

VISIBILITY_ONCOMMIT

public static final int VISIBILITY_ONCOMMIT 

VISIBILITY_IMMEDIATE

public static final int VISIBILITY_IMMEDIATE 
コンストラクタの詳細

AQDequeueOption

public AQDequeueOption() 
メソッドの詳細

getConsumerName

public java.lang.String getConsumerName()
                                 throws AQException 
コンシューマの名前を取得します。

setConsumerName

public void setConsumerName(java.lang.String consumer_name)
                     throws AQException 
コンシューマの名前を設定します。

getDequeueMode

public int getDequeueMode()
                   throws AQException 
デキュー・モードを取得します。戻り値は、DEQUEUE_BROWSE、DEQUEUE_LOCKED、DEQUEUE_REMOVEまたはDEQUEUE_REMOVE_NODATAのいずれかです。

setDequeueMode

public void setDequeueMode(int dequeue_mode)
                    throws AQException 
デキュー・モードを設定します。

getNavigationMode

public int getNavigationMode()
                      throws AQException 
ナビゲーション・モードを取得します。戻り値は、NAVIGATION_FIRST_MESSAGE、NAVIGATION_NEXT_MESSAGEまたはNAVIGATION_NEXT_TRANSACTIONのいずれかです。

setNavigationMode

public void setNavigationMode(int navigation)
                       throws AQException 
ナビゲーション・モードを設定します。

getVisibility

public int getVisibility()
                  throws AQException 
可視性を取得します。戻り値は、AQConstants.VISIBILITY_IMMEDIATEまたはAQConstants.VISIBILITY_ONCOMMITです。

setVisibility

public void setVisibility(int visibility)
                   throws AQException 
可視性を設定します。AQConstants.VISIBILITY_IMMEDIATEまたはAQConstants.VISIBILITY_ONCOMMITです。

getWaitTime

public int getWaitTime()
                throws AQException 
待機時間を取得します。WAIT_FOREVER、WAIT_NONEまたは実際の時間が秒数で返されます。

setWaitTime

public void setWaitTime(int wait_time)
                 throws AQException 
待機時間(WAIT_FOREVER、WAIT_NONEまたは秒数)を設定します。

getMessageId

public byte[] getMessageId()
                    throws AQException 
メッセージIDを取得します。

setMessageId

public void setMessageId(byte[] message_id)
                  throws AQException 
メッセージIDを設定します。

getCorrelation

public java.lang.String getCorrelation()
                                throws AQException 
相関IDを取得します。

setCorrelation

public void setCorrelation(java.lang.String correlation)
                    throws AQException 
相関IDを設定します。