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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static String
getChannelEvent
(String channelName, String eventUUID) static void
onChannelSubscribe
(String channelName) static void
onChannelUnsubscribe
(String channelName)
-
Constructor Details
-
EventHistoryStore
public EventHistoryStore()
-
-
Method Details
-
getChannelEvent
@CheckForNull public static String getChannelEvent(@NonNull String channelName, @NonNull String eventUUID) throws IOException - Throws:
IOException
-
onChannelSubscribe
-
onChannelUnsubscribe
-
enableAutoDeleteOnExpire
public static void enableAutoDeleteOnExpire() -
disableAutoDeleteOnExpire
public static void disableAutoDeleteOnExpire()
-