public class InMemoryAuditEventRepository extends ObjectSE implements AuditEventRepository
AuditEventRepository
実装。コンストラクターと説明 |
---|
InMemoryAuditEventRepository() |
InMemoryAuditEventRepository(int capacity) |
修飾子と型 | メソッドと説明 |
---|---|
void | add(AuditEvent event) イベントをログに記録します。 |
ListSE<AuditEvent> | find(StringSE principal, InstantSE after, StringSE type) 提供された時刻に after SE 発生した、指定されたプリンシパルに関連する指定された型の監査イベントを検索します。 |
void | setCapacity(int capacity) このイベントリポジトリの容量を設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public InMemoryAuditEventRepository()
public InMemoryAuditEventRepository(int capacity)
public void setCapacity(int capacity)
capacity
- 容量 public void add(AuditEvent event)
AuditEventRepository
AuditEventRepository
の add
event
- ログに記録する監査イベント public ListSE<AuditEvent> find(StringSE principal, InstantSE after, StringSE type)
AuditEventRepository
after
SE 発生した、指定されたプリンシパルに関連する指定された型の監査イベントを検索します。AuditEventRepository
の find
principal
- 検索するプリンシパル名 (または無制限の場合は null
)after
- イベントが発生した後の時間 (または無制限の場合は null
)type
- 検索するイベント型 (または無制限の場合は null
)