Enum FullGCMode
- java.lang.Object
-
- java.lang.Enum<FullGCMode>
-
- org.apache.jackrabbit.oak.plugins.document.FullGCMode
-
- All Implemented Interfaces:
Serializable,Comparable<FullGCMode>
public enum FullGCMode extends Enum<FullGCMode>
During hardening of FullGC one can choose level type of garbage should be cleaned up. Ultimately the goal is to clean up all possible garbage. After hardening these modes might no longer be supported.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_ORPHANSGC any kind of orphaned nodesALL_ORPHANS_EMPTYPROPSGC any kind of orphaned nodes, plus empty propertiesEMPTYPROPSGC only empty propertiesGAP_ORPHANSGC only orphaned nodes with gaps in ancestor docsGAP_ORPHANS_EMPTYPROPSGC orphaned nodes with gaps in ancestor docs, plus empty propertiesNONEno full GC is done at allORPHANS_EMPTYPROPS_BETWEEN_CHECKPOINTS_NO_UNMERGED_BCGC any kind of orphaned nodes, empty properties plus cleanup revisions, also between checkpointsORPHANS_EMPTYPROPS_BETWEEN_CHECKPOINTS_WITH_UNMERGED_BCGC any kind of orphaned nodes, empty properties, cleanup revisions, also between checkpoints, plus cleanup unmerged BCsORPHANS_EMPTYPROPS_KEEP_ONE_ALL_PROPSGC any kind of orphaned nodes, empty properties plus keep 1 (== keep traversed) revision, applied to all propertiesORPHANS_EMPTYPROPS_KEEP_ONE_USER_PROPSGC any kind of orphaned nodes, empty properties plus keep 1 (== keep traversed) revision, applied to user properties onlyORPHANS_EMPTYPROPS_UNMERGED_BCGC any kind of orphaned nodes, empty properties plus cleanup unmerged BCs
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FullGCModegetMode(int mode)static FullGCModevalueOf(String name)Returns the enum constant of this type with the specified name.static FullGCMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FullGCMode NONE
no full GC is done at all
-
EMPTYPROPS
public static final FullGCMode EMPTYPROPS
GC only empty properties
-
GAP_ORPHANS
public static final FullGCMode GAP_ORPHANS
GC only orphaned nodes with gaps in ancestor docs
-
GAP_ORPHANS_EMPTYPROPS
public static final FullGCMode GAP_ORPHANS_EMPTYPROPS
GC orphaned nodes with gaps in ancestor docs, plus empty properties
-
ALL_ORPHANS
public static final FullGCMode ALL_ORPHANS
GC any kind of orphaned nodes
-
ALL_ORPHANS_EMPTYPROPS
public static final FullGCMode ALL_ORPHANS_EMPTYPROPS
GC any kind of orphaned nodes, plus empty properties
-
ORPHANS_EMPTYPROPS_KEEP_ONE_USER_PROPS
public static final FullGCMode ORPHANS_EMPTYPROPS_KEEP_ONE_USER_PROPS
GC any kind of orphaned nodes, empty properties plus keep 1 (== keep traversed) revision, applied to user properties only
-
ORPHANS_EMPTYPROPS_KEEP_ONE_ALL_PROPS
public static final FullGCMode ORPHANS_EMPTYPROPS_KEEP_ONE_ALL_PROPS
GC any kind of orphaned nodes, empty properties plus keep 1 (== keep traversed) revision, applied to all properties
-
ORPHANS_EMPTYPROPS_UNMERGED_BC
public static final FullGCMode ORPHANS_EMPTYPROPS_UNMERGED_BC
GC any kind of orphaned nodes, empty properties plus cleanup unmerged BCs
-
ORPHANS_EMPTYPROPS_BETWEEN_CHECKPOINTS_NO_UNMERGED_BC
public static final FullGCMode ORPHANS_EMPTYPROPS_BETWEEN_CHECKPOINTS_NO_UNMERGED_BC
GC any kind of orphaned nodes, empty properties plus cleanup revisions, also between checkpoints
-
ORPHANS_EMPTYPROPS_BETWEEN_CHECKPOINTS_WITH_UNMERGED_BC
public static final FullGCMode ORPHANS_EMPTYPROPS_BETWEEN_CHECKPOINTS_WITH_UNMERGED_BC
GC any kind of orphaned nodes, empty properties, cleanup revisions, also between checkpoints, plus cleanup unmerged BCs
-
-
Method Detail
-
values
public static FullGCMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FullGCMode c : FullGCMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FullGCMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMode
public static FullGCMode getMode(int mode)
-
-