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

    • EventHistoryStore

      public EventHistoryStore()
  • Method Details

    • getChannelEvent

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

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

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

      public static void enableAutoDeleteOnExpire()
    • disableAutoDeleteOnExpire

      public static void disableAutoDeleteOnExpire()