public static void verifyFullValueRequestsFromClients(Long expected) throws Exception { Object[] proxies = ((BridgeServerImpl)((GemFireCacheImpl)cache) .getCacheServers().get(0)).getAcceptor().getCacheClientNotifier() .getClientProxies().toArray(); long fullValueRequests = ((CacheClientProxy)proxies[0]).getStatistics() .getDeltaFullMessagesSent(); if (fullValueRequests == 0) { assertEquals("Full value requests, ", expected.longValue(), ((CacheClientProxy)proxies[1]).getStatistics() .getDeltaFullMessagesSent()); } else { assertEquals("Full value requests, ", expected.longValue(), fullValueRequests); } }