Package org.apache.jackrabbit.oak.run
Class DataStoreOptions
- java.lang.Object
-
- org.apache.jackrabbit.oak.run.DataStoreOptions
-
- All Implemented Interfaces:
OptionsBean
public class DataStoreOptions extends java.lang.Object implements OptionsBean
-
-
Field Summary
Fields Modifier and Type Field Description static OptionsBeanFactoryFACTORY
-
Constructor Summary
Constructors Constructor Description DataStoreOptions(joptsimple.OptionParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleananyActionSelected()booleancheckConsistency()booleancheckConsistencyAfterGC()booleancollectGarbage()voidconfigure(joptsimple.OptionSet options)java.lang.Stringdescription()booleandumpIds()booleandumpRefs()booleanexportMetrics()java.lang.StringexportMetricsArgs()intgetBatchCount()longgetBlobGcMaxAgeInSecs()booleangetMetadata()java.io.FilegetOutDir()java.util.List<java.lang.String>getVerboseInclusionRegex()java.util.List<java.lang.String>getVerboseRootPaths()java.io.FilegetWorkDir()booleanhasVerboseInclusionRegex()booleanhasVerboseRootPaths()booleanisResetLoggingConfig()booleanisUseDirListing()booleanisVerbose()booleanmarkOnly()java.util.Set<java.lang.String>operationNames()intorder()booleansweepIfRefsPastRetention()java.lang.Stringtitle()
-
-
-
Field Detail
-
FACTORY
public static final OptionsBeanFactory FACTORY
-
-
Method Detail
-
configure
public void configure(joptsimple.OptionSet options)
- Specified by:
configurein interfaceOptionsBean
-
title
public java.lang.String title()
- Specified by:
titlein interfaceOptionsBean
-
description
public java.lang.String description()
- Specified by:
descriptionin interfaceOptionsBean
-
order
public int order()
- Specified by:
orderin interfaceOptionsBean
-
operationNames
public java.util.Set<java.lang.String> operationNames()
- Specified by:
operationNamesin interfaceOptionsBean
-
anyActionSelected
public boolean anyActionSelected()
-
getWorkDir
public java.io.File getWorkDir() throws java.io.IOException- Throws:
java.io.IOException
-
getOutDir
public java.io.File getOutDir()
-
collectGarbage
public boolean collectGarbage()
-
checkConsistency
public boolean checkConsistency()
-
dumpRefs
public boolean dumpRefs()
-
dumpIds
public boolean dumpIds()
-
getMetadata
public boolean getMetadata()
-
checkConsistencyAfterGC
public boolean checkConsistencyAfterGC()
-
markOnly
public boolean markOnly()
-
getBlobGcMaxAgeInSecs
public long getBlobGcMaxAgeInSecs()
-
getBatchCount
public int getBatchCount()
-
isVerbose
public boolean isVerbose()
-
hasVerboseRootPaths
public boolean hasVerboseRootPaths()
-
hasVerboseInclusionRegex
public boolean hasVerboseInclusionRegex()
-
isResetLoggingConfig
public boolean isResetLoggingConfig()
-
exportMetrics
public boolean exportMetrics()
-
exportMetricsArgs
public java.lang.String exportMetricsArgs()
-
getVerboseRootPaths
public java.util.List<java.lang.String> getVerboseRootPaths()
-
getVerboseInclusionRegex
public java.util.List<java.lang.String> getVerboseInclusionRegex()
-
isUseDirListing
public boolean isUseDirListing()
-
sweepIfRefsPastRetention
public boolean sweepIfRefsPastRetention()
-
-