Class CacheRefreshSnapshotFileService
java.lang.Object
org.gluu.oxtrust.ldap.cache.service.CacheRefreshSnapshotFileService
@ApplicationScoped
@Named("cacheRefreshSnapshotFileService")
public class CacheRefreshSnapshotFileService
extends Object
Helper service to work with snapshots
- Author:
- Yuriy Movchan Date: 06.09.2011
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
createSnapshot
(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration, Map<String, Integer> inumWithEntryHashCodeMap) boolean
prepareSnapshotsFolder
(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration) readLastSnapshot
(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration) readProblemList
(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration) readSnapshot
(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration, String snapshotFileName) boolean
retainSnapshots
(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration, int count) boolean
writeProblemList
(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration, Set<String> changedInums)
-
Constructor Details
-
CacheRefreshSnapshotFileService
public CacheRefreshSnapshotFileService()
-
-
Method Details
-
prepareSnapshotsFolder
public boolean prepareSnapshotsFolder(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration) -
createSnapshot
-
readSnapshot
-
readLastSnapshot
-
retainSnapshots
public boolean retainSnapshots(org.gluu.config.oxtrust.CacheRefreshConfiguration cacheRefreshConfiguration, int count) -
readProblemList
-
writeProblemList
-