Package org.jenkinsci.plugins.ssegateway
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 Summary
Constructors Constructor Description EventHistoryStore()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
disableAutoDeleteOnExpire()
static void
enableAutoDeleteOnExpire()
static String
getChannelEvent(String channelName, String eventUUID)
static void
onChannelSubscribe(String channelName)
static void
onChannelUnsubscribe(String channelName)
-
-
-
Method Detail
-
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()
-
-