Class PreloadManager
java.lang.Object
org.infinispan.persistence.manager.PreloadManager
Separate the preload into its own component
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ComponentRef<AdvancedCache<?, ?>> protected PersistenceManagerstatic final longstatic final long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PRELOAD_FLAGS
public static final long PRELOAD_FLAGS -
PRELOAD_WITHOUT_INDEXING_FLAGS
public static final long PRELOAD_WITHOUT_INDEXING_FLAGS -
persistenceManager
-
cache
-
-
Constructor Details
-
PreloadManager
public PreloadManager()
-
-
Method Details
-
start
public void start() -
isFullyPreloaded
public boolean isFullyPreloaded()- Returns:
- true if all entries from the store have been inserted to the cache. If the persistence/preload is disabled or eviction limit was reached when preloading, returns false.
-