@Test public void getRemoteReplicaLagTest() { Assert.assertEquals(vcrRequests.getRemoteReplicaLag(null, 0), -1); Assert.assertEquals(vcrRequests.getRemoteReplicaLag(null, 100), -1); Assert.assertEquals(vcrRequests.getRemoteReplicaLag(store, 0), -1); Assert.assertEquals(vcrRequests.getRemoteReplicaLag(store, 100), -1); }
@Override protected long getRemoteReplicaLag(Store store, long totalBytesRead) { return -1; }
VcrRequests extends AmbryRequests { @Override protected long getRemoteReplicaLag(Store store, long totalBytesRead) { return -1; } }
VcrRequests extends AmbryRequests { @Override protected long getRemoteReplicaLag(Store store, long totalBytesRead) { return -1; } VcrRequests(StoreManager storeManager, RequestResponseChannel requestResponseChannel, ClusterMap clusterMap,
      DataNodeId currentNode, MetricRegistry registry, ServerMetrics serverMetrics, FindTokenHelper findTokenHelper,
      NotificationSystem notification, ReplicationEngine replicationEngine, StoreKeyFactory storageKeyFactory,
      StoreKeyConverterFactory storeKeyConverterFactory); }
VcrRequests extends AmbryRequests { @Override protected long getRemoteReplicaLag(Store store, long totalBytesRead) { return -1; } VcrRequests(StoreManager storeManager, RequestResponseChannel requestResponseChannel, ClusterMap clusterMap,
      DataNodeId currentNode, MetricRegistry registry, ServerMetrics serverMetrics, FindTokenHelper findTokenHelper,
      NotificationSystem notification, ReplicationEngine replicationEngine, StoreKeyFactory storageKeyFactory,
      StoreKeyConverterFactory storeKeyConverterFactory); @Override void handlePutRequest(NetworkRequest request); @Override void handleDeleteRequest(NetworkRequest request); @Override void handleTtlUpdateRequest(NetworkRequest request); }
VcrRequests extends AmbryRequests { @Override protected long getRemoteReplicaLag(Store store, long totalBytesRead) { return -1; } VcrRequests(StoreManager storeManager, RequestResponseChannel requestResponseChannel, ClusterMap clusterMap,
      DataNodeId currentNode, MetricRegistry registry, ServerMetrics serverMetrics, FindTokenHelper findTokenHelper,
      NotificationSystem notification, ReplicationEngine replicationEngine, StoreKeyFactory storageKeyFactory,
      StoreKeyConverterFactory storeKeyConverterFactory); @Override void handlePutRequest(NetworkRequest request); @Override void handleDeleteRequest(NetworkRequest request); @Override void handleTtlUpdateRequest(NetworkRequest request);  }