public class FileExchangeStore extends AbstractExchangeStore
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_FILE_PATH |
exchangesStoreListeners| Constructor and Description |
|---|
FileExchangeStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteOldFolders(Calendar now) |
Object[] |
getAllExchanges() |
List<AbstractExchange> |
getAllExchangesAsList() |
String |
getDir() |
AbstractExchange[] |
getExchanges(RuleKey ruleKey) |
Object[] |
getLatExchanges(int count) |
int |
getMaxDays() |
int |
getNumberOfExchanges(RuleKey ruleKey) |
StatisticCollector |
getStatistics(RuleKey ruleKey) |
void |
initializeTimer() |
boolean |
isRaw() |
boolean |
isSaveBodyOnly() |
void |
remove(AbstractExchange exchange) |
void |
removeAllExchanges(AbstractExchange[] exchanges) |
void |
removeAllExchanges(Rule rule) |
void |
setDir(String dir) |
void |
setMaxDays(int maxDays) |
void |
setRaw(boolean raw) |
void |
setSaveBodyOnly(boolean saveBodyOnly) |
void |
snap(AbstractExchange exc,
Interceptor.Flow flow)
Adds the current state of the exchange to the store.
|
addExchangesStoreListener, collect, getClientStatistics, getExchangeById, getLastModified, init, notifyListenersOnExchangeAdd, notifyListenersOnExchangeRemoval, refreshExchangeStoreListeners, removeExchangesStoreListener, waitForModificationpublic static final String MESSAGE_FILE_PATH
public void snap(AbstractExchange exc, Interceptor.Flow flow)
ExchangeStorepublic void initializeTimer()
public void deleteOldFolders(Calendar now) throws IOException
IOExceptionpublic AbstractExchange[] getExchanges(RuleKey ruleKey)
public int getNumberOfExchanges(RuleKey ruleKey)
public void remove(AbstractExchange exchange)
public void removeAllExchanges(Rule rule)
public StatisticCollector getStatistics(RuleKey ruleKey)
public Object[] getAllExchanges()
public Object[] getLatExchanges(int count)
public List<AbstractExchange> getAllExchangesAsList()
public void removeAllExchanges(AbstractExchange[] exchanges)
public String getDir()
public void setDir(String dir)
public boolean isRaw()
public void setRaw(boolean raw)
public boolean isSaveBodyOnly()
public void setSaveBodyOnly(boolean saveBodyOnly)
public int getMaxDays()
public void setMaxDays(int maxDays)
Copyright © 2019. All Rights Reserved.