Class SegmentIdProperties.Chain.PrefetchWorker
java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
- Enclosing class:
- SegmentIdProperties.Chain
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setCorePoolSize
(int corePoolSize) void
setPrefetchPeriod
(Duration prefetchPeriod) void
setShutdownHook
(boolean shutdownHook)
-
Constructor Details
-
PrefetchWorker
public PrefetchWorker()
-
-
Method Details
-
getPrefetchPeriod
-
setPrefetchPeriod
-
getCorePoolSize
public int getCorePoolSize() -
setCorePoolSize
public void setCorePoolSize(int corePoolSize) -
isShutdownHook
public boolean isShutdownHook() -
setShutdownHook
public void setShutdownHook(boolean shutdownHook)
-