Class HistoryStore
java.lang.Object
com.lucidworks.apollo.common.models.HistoryStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddItemHistory(String service, String item, HistoryEvent event) abstract voidaddItemHistory(String service, String item, HistoryEvent event, Boolean commit) abstract voidaddServiceHistory(String service, HistoryEvent event) abstract voidclearAllItemHistory(String service) abstract voidabstract voidclearItemHistory(String service, String item) abstract voidclearServiceHistory(String service) abstract voidabstract com.lucidworks.apollo.common.models.HistorygetItemHistory(String service, String item, String timeRange, int maxLength) abstract com.lucidworks.apollo.common.models.HistorygetServiceHistory(String service, String timeRange, int maxLength) listAllItems(String service) listAllItems(String service, String timeRange) listAllServices(String timeRange)
-
Constructor Details
-
HistoryStore
public HistoryStore()
-
-
Method Details
-
flushBuffers
public abstract void flushBuffers() -
addServiceHistory
- Throws:
IOException
-
addItemHistory
public abstract void addItemHistory(String service, String item, HistoryEvent event) throws IOException - Throws:
IOException
-
addItemHistory
public abstract void addItemHistory(String service, String item, HistoryEvent event, Boolean commit) throws IOException - Throws:
IOException
-
getServiceHistory
public abstract com.lucidworks.apollo.common.models.History getServiceHistory(String service, String timeRange, int maxLength) throws IOException - Throws:
IOException
-
getItemHistory
public abstract com.lucidworks.apollo.common.models.History getItemHistory(String service, String item, String timeRange, int maxLength) throws IOException - Throws:
IOException
-
listAllServices
- Throws:
IOException
-
listAllServices
- Throws:
IOException
-
listAllItems
- Throws:
IOException
-
listAllItems
- Throws:
IOException
-
clearServiceHistory
- Throws:
IOException
-
clearAllServiceHistory
- Throws:
IOException
-
clearItemHistory
- Throws:
IOException
-
clearAllItemHistory
- Throws:
IOException
-