public class SocialTimelineCacheClusterPersistence extends SocialTimelineCachePersistence implements SocialTimelinePersistenceAPI
SocialTimelineCachePersistence.SocialCacheControl
SOCIAL_FILES, THRESHOLD_PROPERTY
Constructor and Description |
---|
SocialTimelineCacheClusterPersistence(com.google.gson.Gson gson,
Type gsonCollectionType,
IOService ioService,
SocialEventTypeRepositoryAPI socialEventTypeRepository,
SocialUserPersistenceAPI socialUserPersistenceAPI,
SocialClusterMessaging socialClusterMessaging,
SocialUserServicesExtendedBackEndImpl userServicesBackend,
FileSystem fileSystem,
SocialSecurityConstraintsManager socialSecurityConstraintsManager) |
Modifier and Type | Method and Description |
---|---|
void |
persist(SocialActivitiesEvent event) |
void |
persist(SocialUser user,
SocialActivitiesEvent event) |
void |
saveAllEvents() |
void |
someNodeShutdownAndPersistEvents() |
dispose, getLastEvents, getLastEvents, getNumberOfEventsOnFile, getNumberOfEventsOnFile, getRecentEvents, getRecentEvents, getTimeline, getTimeline, getTypeMostRecentFileIndex, getUserMostRecentFileIndex, numberOfPages, priority, setup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLastEvents, getLastEvents, getNumberOfEventsOnFile, getNumberOfEventsOnFile, getRecentEvents, getRecentEvents, getTimeline, getTimeline, getTypeMostRecentFileIndex, getUserMostRecentFileIndex, numberOfPages, setup
public SocialTimelineCacheClusterPersistence(com.google.gson.Gson gson, Type gsonCollectionType, IOService ioService, SocialEventTypeRepositoryAPI socialEventTypeRepository, SocialUserPersistenceAPI socialUserPersistenceAPI, SocialClusterMessaging socialClusterMessaging, SocialUserServicesExtendedBackEndImpl userServicesBackend, FileSystem fileSystem, SocialSecurityConstraintsManager socialSecurityConstraintsManager)
public void persist(SocialActivitiesEvent event)
persist
in interface SocialTimelinePersistenceAPI
public void persist(SocialUser user, SocialActivitiesEvent event)
persist
in interface SocialTimelinePersistenceAPI
public void saveAllEvents()
saveAllEvents
in interface SocialTimelinePersistenceAPI
public void someNodeShutdownAndPersistEvents()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.