@Named public class FileBasedEventStore extends EventStore
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FILE_NAME |
static String |
DEFAULT_FILE_PATH |
static String |
FILE_NAME_CONFIGURATION_KEY |
static String |
FILE_PATH_CONFIGURATION_KEY |
Constructor and Description |
---|
FileBasedEventStore() |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(Event event) |
Collection<Event> |
findEvents(SearchCriteria criteria) |
Path |
getPath() |
protected Collection<Event> |
loadEvents() |
protected String |
lookupFileName() |
protected String |
lookupFilePath() |
void |
setFileName(String fileName) |
void |
setFilePath(String filePath) |
protected void |
writeEvent(Event event) |
findEvents, isMatchingEvent, notifyListeners, registerListener, setListeners
public static final String DEFAULT_FILE_PATH
public static final String DEFAULT_FILE_NAME
public static final String FILE_PATH_CONFIGURATION_KEY
public static final String FILE_NAME_CONFIGURATION_KEY
public void addEvent(Event event)
public Collection<Event> findEvents(SearchCriteria criteria)
protected void writeEvent(Event event)
protected Collection<Event> loadEvents()
public Path getPath()
protected String lookupFilePath()
protected String lookupFileName()
public void setFilePath(String filePath)
public void setFileName(String fileName)
Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.