public class CreateSessions
extends org.alfresco.bm.event.AbstractEventProcessor
| Constructor and Description |
|---|
CreateSessions(int numberOfSessions)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.bm.event.EventResult |
processEvent(org.alfresco.bm.event.Event event) |
void |
setBatchSize(int batchSize)
Override the
default batch size |
void |
setTimeBetweenCreateSessionBatches(int timeBetweenCreateSessionBatches) |
void |
setTimeBetweenCreateSessions(int timeBetweenCreateSessions) |
getName, getWarnDelay, isAutoCloseSessionId, isAutoPropagateSessionId, isChart, processEvent, register, resumeTimer, setAutoCloseSessionId, setAutoPropagateSessionId, setBeanName, setChart, setEventName, setEventNames, setRegistry, setWarnDelay, stopTimer, suspendTimer, toStringpublic CreateSessions(int numberOfSessions)
services - access to collection servicesnumberOfSessions - a running count of the remaining number of sessions to createeventSelector - the event selector to use in selecting the next eventpublic void setBatchSize(int batchSize)
default batch sizepublic void setTimeBetweenCreateSessions(int timeBetweenCreateSessions)
public void setTimeBetweenCreateSessionBatches(int timeBetweenCreateSessionBatches)
Copyright © 2015. All rights reserved.