Package io.split.engine.segments
Interface SegmentSynchronizationTask
-
- All Superinterfaces:
SyncTask
- All Known Implementing Classes:
SegmentSynchronizationTaskImp
public interface SegmentSynchronizationTask extends SyncTask
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidfetchAll(boolean addCacheHeader)fetch every SegmentbooleanfetchAllSynchronous()fetch every Segment SynchronousSegmentFetchergetFetcher(String segmentName)returns segmentFecthervoidinitializeSegment(String segmentName)initializes the segmentvoidstart()starts the fetchingvoidstop()stops the thread
-
-
-
Method Detail
-
initializeSegment
void initializeSegment(String segmentName)
initializes the segment- Parameters:
segmentName-
-
getFetcher
SegmentFetcher getFetcher(String segmentName)
returns segmentFecther- Parameters:
segmentName-- Returns:
-
fetchAll
void fetchAll(boolean addCacheHeader)
fetch every Segment- Parameters:
addCacheHeader-
-
fetchAllSynchronous
boolean fetchAllSynchronous()
fetch every Segment Synchronous
-
-