public class RevisionGC extends java.lang.Object implements RevisionGCMBean
RevisionGCMBean based on a Runnable.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OP_NAME |
TYPE| Constructor and Description |
|---|
RevisionGC(@NotNull java.lang.Runnable runGC,
@NotNull java.lang.Runnable cancelGC,
@NotNull java.util.concurrent.Executor executor) |
RevisionGC(@NotNull java.lang.Runnable runGC,
@NotNull java.lang.Runnable cancelGC,
@NotNull java.util.function.Supplier<java.lang.String> statusMessage,
@NotNull java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull javax.management.openmbean.CompositeData |
cancelRevisionGC()
Cancel a running revision garbage collection operation.
|
@NotNull javax.management.openmbean.CompositeData |
getRevisionGCStatus()
Revision garbage collection status
|
@NotNull javax.management.openmbean.CompositeData |
startRevisionGC()
Initiate a revision garbage collection operation
|
public static final java.lang.String OP_NAME
public RevisionGC(@NotNull
@NotNull java.lang.Runnable runGC,
@NotNull
@NotNull java.lang.Runnable cancelGC,
@NotNull
@NotNull java.util.function.Supplier<java.lang.String> statusMessage,
@NotNull
@NotNull java.util.concurrent.Executor executor)
runGC - Revision garbage collectorcancelGC - Executor for cancelling the garbage collection taskstatusMessage - an informal status message describing the status of the background
operation at the time of invocation.executor - Executor for initiating the garbage collection taskpublic RevisionGC(@NotNull
@NotNull java.lang.Runnable runGC,
@NotNull
@NotNull java.lang.Runnable cancelGC,
@NotNull
@NotNull java.util.concurrent.Executor executor)
runGC - Revision garbage collectorcancelGC - Executor for cancelling the garbage collection taskexecutor - Executor for initiating the garbage collection task@NotNull public @NotNull javax.management.openmbean.CompositeData startRevisionGC()
RevisionGCMBeanstartRevisionGC in interface RevisionGCMBean@NotNull public @NotNull javax.management.openmbean.CompositeData cancelRevisionGC()
RevisionGCMBeancancelRevisionGC in interface RevisionGCMBean@NotNull public @NotNull javax.management.openmbean.CompositeData getRevisionGCStatus()
RevisionGCMBeangetRevisionGCStatus in interface RevisionGCMBeanCopyright © 2010 - 2023 Adobe. All Rights Reserved