* @return
*/
public Timer getOperationTimer(String operationName){
- return getOperationTimer(datastoreContext.getDataStoreType(), operationName);
+ return getOperationTimer(datastoreContext.getDataStoreName(), operationName);
}
public Timer getOperationTimer(String dataStoreType, String operationName){
return metricRegistry.timer(rate);
}
+ /**
+ * Get the name of the data store to which this ActorContext belongs
+ *
+ * @return
+ */
+ public String getDataStoreName() {
+ return datastoreContext.getDataStoreName();
+ }
+
/**
* Get the type of the data store to which this ActorContext belongs
*
* @return
+ * @deprecated Use {@link #getDataStoreName()} instead.
*/
public String getDataStoreType() {
- return datastoreContext.getDataStoreType();
+ return datastoreContext.getDataStoreName();
}
/**