public class RemoteSyncPullServlet<K extends EntryKey,E extends StoredEntry<K>> extends ServletWithMetricsBase
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectWriter |
_jsonWriter |
protected OperationMetrics |
_pullMetrics |
protected SyncHandler<K,E> |
_syncHandler |
_basePath, _clusterView, _timeMaster, LOG| Constructor and Description |
|---|
RemoteSyncPullServlet(SharedServiceStuff stuff,
ClusterViewByServer clusterView,
SyncHandler<K,E> h) |
| Modifier and Type | Method and Description |
|---|---|
protected ServletServiceResponse |
_pullEntries(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics metadata) |
void |
fillOperationMetrics(AllOperationMetrics metrics) |
void |
handlePost(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics metadata) |
_addStdHeaders, _trimPath, constructMetadata, constructRequest, constructResponse, doDelete, doGet, doHead, doPost, doPut, getClusterView, handleDelete, handleGet, handleHead, handlePutdoOptions, doTrace, getLastModified, service, serviceprotected final SyncHandler<K extends EntryKey,E extends StoredEntry<K>> _syncHandler
protected final com.fasterxml.jackson.databind.ObjectWriter _jsonWriter
protected final OperationMetrics _pullMetrics
public RemoteSyncPullServlet(SharedServiceStuff stuff, ClusterViewByServer clusterView, SyncHandler<K,E> h)
public void fillOperationMetrics(AllOperationMetrics metrics)
fillOperationMetrics in interface AllOperationMetrics.Providerprotected ServletServiceResponse _pullEntries(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics metadata) throws IOException
IOExceptionpublic void handlePost(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics metadata) throws IOException
handlePost in class ServletBaseIOExceptionCopyright © 2012-2014 fasterxml.com. All Rights Reserved.