Hitachi

インメモリデータグリッド uCosminexus Elastic Application Data store ユーザーズガイド


20.3 ユーザイベントハンドラで使用できるAPI

ユーザイベントハンドラで使用できるAPIを次の表に示します。

表20‒3 ユーザイベントハンドラで使用できるAPI

項番

インタフェース名,アノテーション名,または列挙型名

機能

パッケージ名

1

EventHandler

EADsサーバで使用するユーザイベントハンドラが実装する必要のあるインタフェースです。

com.hitachi.software.xeads.event.EventHandler

2

EventContext

EADsサーバ,EADsクライアント,および発生したイベントに関する情報を,ユーザイベントハンドラに渡すインタフェースです。

com.hitachi.software.xeads.event.EventContext

3

ClientInfo

実行したEADsクライアントの情報(PRFトレースに出力されるRootAP情報に相当する情報)を取得するインタフェースです。

com.hitachi.software.xeads.common.ClientInfo

4

UserLogger

ユーザログのインタフェースです。

com.hitachi.software.xeads.common.UserLogger

5

OperationFilter

イベントが発生したデータ操作の種類に関して,ユーザイベントハンドラが動作する条件を指定するアノテーションです。

com.hitachi.software.xeads.event.annotation.OperationFilter

6

DataFilter

イベントが発生したデータのキャッシュ名,グループ名,または要素名に関して,ユーザイベントハンドラが動作する条件を指定するアノテーションです。

com.hitachi.software.xeads.event.annotation.DataFilter

7

Priority

ユーザイベントハンドラを実行する優先度を指定するアノテーションです。

com.hitachi.software.xeads.event.annotation.Priority

8

OperationType

イベントが発生したデータ操作の種類を表す列挙型です。

com.hitachi.software.xeads.event.OperationType

9

MethodType

実行したAPIの種類を表す列挙型です。

com.hitachi.software.xeads.event.MethodType

10

PriorityLevel

ユーザイベントハンドラを実行する優先度を表す列挙型です。

com.hitachi.software.xeads.event.PriorityLevel

注※

ClientInfoインタフェースについては,「20.2.4 ClientInfoインタフェース」を参照してください。

UserLoggerインタフェースについては,「20.2.9 UserLoggerインタフェース」を参照してください。

〈この節の構成〉