Class EventHistoryStore

java.lang.Object
org.jenkinsci.plugins.ssegateway.EventHistoryStore

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class EventHistoryStore extends Object
Channel event message history store.

Currently stores event history in files on disk, purging them as they go "stale" (after they expire).

Author:
tom.fennelly@gmail.com
  • Constructor Details Link icon

    • EventHistoryStore Link icon

      public EventHistoryStore()
  • Method Details Link icon

    • getChannelEvent Link icon

      @CheckForNull public static String getChannelEvent(@NonNull String channelName, @NonNull String eventUUID) throws IOException
      Throws:
      IOException
    • onChannelSubscribe Link icon

      public static void onChannelSubscribe(@NonNull String channelName)
    • onChannelUnsubscribe Link icon

      public static void onChannelUnsubscribe(@NonNull String channelName)
    • enableAutoDeleteOnExpire Link icon

      public static void enableAutoDeleteOnExpire()
    • disableAutoDeleteOnExpire Link icon

      public static void disableAutoDeleteOnExpire()