-
public class LoadOptionDefaults
-
-
Field Summary
Fields Modifier and Type Field Description private InstanttaskTimeprivate Durationexpiresprivate InstantexpireAtprivate BooleanlazyFlushprivate Booleanparseprivate BooleanstoreContentprivate BooleanignoreFailureprivate IntegernJitRetryprivate BrowserTypebrowserprivate Integertestpublic final static LoadOptionDefaultsINSTANCE
-
Method Summary
Modifier and Type Method Description final InstantgetTaskTime()final UnitsetTaskTime(Instant taskTime)final DurationgetExpires()The default expire time, some time we may need expire all pages by default, for example, in test mode final UnitsetExpires(Duration expires)The default expire time, some time we may need expire all pages by default, for example, in test mode final InstantgetExpireAt()The default time to expire final UnitsetExpireAt(Instant expireAt)The default time to expire final BooleangetLazyFlush()final UnitsetLazyFlush(Boolean lazyFlush)final BooleangetParse()final UnitsetParse(Boolean parse)final BooleangetStoreContent()final UnitsetStoreContent(Boolean storeContent)final BooleangetIgnoreFailure()Retry or not if a page is gone final UnitsetIgnoreFailure(Boolean ignoreFailure)Retry or not if a page is gone final IntegergetNJitRetry()The are several cases to enable jit retry For example, in test environment final UnitsetNJitRetry(Integer nJitRetry)The are several cases to enable jit retry For example, in test environment final BrowserTypegetBrowser()The default browser final UnitsetBrowser(BrowserType browser)The default browser final IntegergetTest()Set to be true if we are doing unit test or other test We will talk more, log more and trace more in test mode final UnitsetTest(Integer test)Set to be true if we are doing unit test or other test We will talk more, log more and trace more in test mode -
-
Method Detail
-
getTaskTime
final Instant getTaskTime()
-
setTaskTime
final Unit setTaskTime(Instant taskTime)
-
getExpires
final Duration getExpires()
The default expire time, some time we may need expire all pages by default, for example, in test mode
-
setExpires
final Unit setExpires(Duration expires)
The default expire time, some time we may need expire all pages by default, for example, in test mode
-
getExpireAt
final Instant getExpireAt()
The default time to expire
-
setExpireAt
final Unit setExpireAt(Instant expireAt)
The default time to expire
-
getLazyFlush
final Boolean getLazyFlush()
-
setLazyFlush
final Unit setLazyFlush(Boolean lazyFlush)
-
getStoreContent
final Boolean getStoreContent()
-
setStoreContent
final Unit setStoreContent(Boolean storeContent)
-
getIgnoreFailure
final Boolean getIgnoreFailure()
Retry or not if a page is gone
-
setIgnoreFailure
final Unit setIgnoreFailure(Boolean ignoreFailure)
Retry or not if a page is gone
-
getNJitRetry
final Integer getNJitRetry()
The are several cases to enable jit retry For example, in test environment
-
setNJitRetry
final Unit setNJitRetry(Integer nJitRetry)
The are several cases to enable jit retry For example, in test environment
-
getBrowser
final BrowserType getBrowser()
The default browser
-
setBrowser
final Unit setBrowser(BrowserType browser)
The default browser
-
getTest
final Integer getTest()
Set to be true if we are doing unit test or other test We will talk more, log more and trace more in test mode
-
-
-
-