@Override public void close() { delegate.close(); }
@Override public void close() { storeProxy.close(); }
@Override public void releaseServerStoreProxy(ServerStoreProxy storeProxy, boolean isReconnect) { connectionState.removeClusterTierClientEntity(storeProxy.getCacheId()); if (!isReconnect) { storeProxy.close(); } else { reconnectSet.add(storeProxy.getCacheId()); } }
storeClientEntity.validate(clientStoreConfiguration); } catch (ClusterTierException e) { serverStoreProxy.close(); throw new CachePersistenceException("Unable to create cluster tier proxy '" + cacheIdentifier.getId() + "' for entity '" + configuration.getConnectionSource().getClusterTierManager() + "'", e); } catch (TimeoutException e) { serverStoreProxy.close(); throw new CachePersistenceException("Unable to create cluster tier proxy '" + cacheIdentifier.getId() + "' for entity '" + configuration.getConnectionSource().getClusterTierManager() + "'; validate operation timed out", e);
@Override public void close() { delegate.close(); }
@Override public void close() { try { proxy().close(); } catch (ConnectionClosedException | ConnectionShutdownException e) { LOGGER.debug("Store was already closed, since connection was closed"); } }
@Override public void releaseServerStoreProxy(ServerStoreProxy storeProxy, boolean isReconnect) { connectionState.removeClusterTierClientEntity(storeProxy.getCacheId()); if (!isReconnect) { storeProxy.close(); } else { reconnectSet.add(storeProxy.getCacheId()); } }
storeClientEntity.validate(clientStoreConfiguration); } catch (ClusterTierException e) { serverStoreProxy.close(); throw new CachePersistenceException("Unable to create cluster tier proxy '" + cacheIdentifier.getId() + "' for entity '" + configuration.getConnectionSource().getClusterTierManager() + "'", e); } catch (TimeoutException e) { serverStoreProxy.close(); throw new CachePersistenceException("Unable to create cluster tier proxy '" + cacheIdentifier.getId() + "' for entity '" + configuration.getConnectionSource().getClusterTierManager() + "'; validate operation timed out", e);