public class AsyncSessionPersisterRunnable extends AbstractSessionPersister implements Runnable
| Constructor and Description |
|---|
AsyncSessionPersisterRunnable() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<PersistedSession> |
deduplicateQueuedSessions(List<AsyncSessionPersisterOperation> fifoSessionHolders,
Set<String> sessionsToRemove) |
protected List<AsyncSessionPersisterOperation> |
drainQueue() |
BlockingQueue<AsyncSessionPersisterOperation> |
getQueue() |
void |
init() |
protected void |
persistSessions(Collection<PersistedSession> withoutDuplicates) |
protected void |
persistsSessionsFromQueue() |
protected boolean |
processingAllowed() |
protected void |
removeSessions(Set<String> ids) |
void |
run() |
void |
setModelService(ModelService modelService) |
void |
setStoredHttpSessionDao(StoredHttpSessionDao storedHttpSessionDao) |
void |
setTenant(Tenant tenant) |
updateModelIfNecessary@PostConstruct public void init()
protected boolean processingAllowed()
protected void persistsSessionsFromQueue()
protected Collection<PersistedSession> deduplicateQueuedSessions(List<AsyncSessionPersisterOperation> fifoSessionHolders, Set<String> sessionsToRemove)
protected List<AsyncSessionPersisterOperation> drainQueue()
protected void persistSessions(Collection<PersistedSession> withoutDuplicates)
public BlockingQueue<AsyncSessionPersisterOperation> getQueue()
public void setStoredHttpSessionDao(StoredHttpSessionDao storedHttpSessionDao)
public void setModelService(ModelService modelService)
public void setTenant(Tenant tenant)
Copyright © 2017 SAP SE. All Rights Reserved.