クラス InMemoryAuditEventRepository

java.lang.ObjectSE
org.springframework.boot.actuate.audit.InMemoryAuditEventRepository
実装されたすべてのインターフェース:
AuditEventRepository

public class InMemoryAuditEventRepository extends ObjectSE implements AuditEventRepository
インメモリ AuditEventRepository 実装。
導入:
1.0.0
作成者:
Dave Syer, Phillip Webb, Vedran Pavic
  • コンストラクターの詳細

    • InMemoryAuditEventRepository

      public InMemoryAuditEventRepository()
    • InMemoryAuditEventRepository

      public InMemoryAuditEventRepository(int capacity)
  • メソッドの詳細

    • setCapacity

      public void setCapacity(int capacity)
      このイベントリポジトリの容量を設定します。
      パラメーター:
      capacity - 容量
    • add

      public void add(AuditEvent event)
      インターフェースからコピーされた説明: AuditEventRepository
      イベントをログに記録します。
      次で指定:
      インターフェース AuditEventRepositoryadd 
      パラメーター:
      event - ログに記録する監査イベント
    • find

      public ListSE<AuditEvent> find(StringSE principal, InstantSE after, StringSE type)
      インターフェースからコピーされた説明: AuditEventRepository
      提供された時刻に afterSE 発生した、指定されたプリンシパルに関連する指定された型の監査イベントを検索します。
      次で指定:
      インターフェース AuditEventRepositoryfind 
      パラメーター:
      principal - 検索するプリンシパル名 (または無制限の場合は null )
      after - イベントが発生した後の時間 (または無制限の場合は null )
      type - 検索するイベント型 (または無制限の場合は null )
      戻り値:
      プリンシパルに関連する指定された型の監査イベント