public class StoreEntryInfoServlet<K extends EntryKey,E extends StoredEntry<K>> extends ServletWithMetricsBase
| Modifier and Type | Field and Description |
|---|---|
protected StoredEntryConverter<K,E,?> |
_entryConverter |
protected OperationMetrics |
_getMetrics |
protected com.fasterxml.jackson.databind.ObjectWriter |
_jsonWriter |
protected EntryKeyConverter<K> |
_keyConverter |
protected StoreHandler<K,E,?> |
_storeHandler |
protected SharedServiceStuff |
_stuff |
_basePath, _clusterView, _timeMaster, LOG| Modifier | Constructor and Description |
|---|---|
|
StoreEntryInfoServlet(SharedServiceStuff stuff,
ClusterViewByServer clusterView,
StoreHandler<K,E,?> storeHandler) |
protected |
StoreEntryInfoServlet(SharedServiceStuff stuff,
ClusterViewByServer clusterView,
StoreHandler<K,E,?> storeHandler,
boolean handleRouting) |
protected |
StoreEntryInfoServlet(StoreEntryInfoServlet<K,E> base,
boolean copyMetrics) |
| Modifier and Type | Method and Description |
|---|---|
protected K |
_findKey(ServletServiceRequest request,
ServletServiceResponse response) |
protected ServletServiceResponse |
_handleGet(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics stats,
K key) |
protected ServletServiceResponse |
_handleHead(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics stats,
K key) |
void |
fillOperationMetrics(AllOperationMetrics metrics) |
void |
handleGet(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics stats) |
void |
handleHead(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics stats) |
_addStdHeaders, _trimPath, constructMetadata, constructRequest, constructResponse, doDelete, doGet, doHead, doPost, doPut, getClusterView, handleDelete, handlePost, handlePutdoOptions, doTrace, getLastModified, service, serviceprotected final SharedServiceStuff _stuff
protected final StoreHandler<K extends EntryKey,E extends StoredEntry<K>,?> _storeHandler
protected final com.fasterxml.jackson.databind.ObjectWriter _jsonWriter
protected final EntryKeyConverter<K extends EntryKey> _keyConverter
protected final StoredEntryConverter<K extends EntryKey,E extends StoredEntry<K>,?> _entryConverter
protected final OperationMetrics _getMetrics
public StoreEntryInfoServlet(SharedServiceStuff stuff, ClusterViewByServer clusterView, StoreHandler<K,E,?> storeHandler)
protected StoreEntryInfoServlet(SharedServiceStuff stuff, ClusterViewByServer clusterView, StoreHandler<K,E,?> storeHandler, boolean handleRouting)
protected StoreEntryInfoServlet(StoreEntryInfoServlet<K,E> base, boolean copyMetrics)
public void fillOperationMetrics(AllOperationMetrics metrics)
fillOperationMetrics in interface AllOperationMetrics.ProviderfillOperationMetrics in class ServletWithMetricsBaseprotected K _findKey(ServletServiceRequest request, ServletServiceResponse response)
public void handleGet(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics stats) throws IOException
handleGet in class ServletBaseIOExceptionpublic void handleHead(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics stats) throws IOException
handleHead in class ServletBaseIOExceptionprotected ServletServiceResponse _handleGet(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics stats, K key) throws IOException
IOExceptionprotected ServletServiceResponse _handleHead(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics stats, K key) throws IOException
IOExceptionCopyright © 2012-2014 fasterxml.com. All Rights Reserved.