@Override public ICacheElement<K, V> call() throws IOException { return getRemoteCacheService().get( cacheName, key, getListenerId() ); } };
@Override public ICacheElement<K, V> call() throws IOException { return getRemoteCacheService().get( cacheName, key, getListenerId() ); } };
try Map<K, ICacheElement<K, V>> rawResults = getRemoteCacheService().getMatching( cacheName, pattern, getListenerId() );
/** * Synchronously remove from the remote cache; if failed, replace the remote handle with a * zombie. * <p> * @param key * @return boolean, whether or not the item was removed * @throws IOException */ @Override protected boolean processRemove( K key ) throws IOException { if ( !this.getRemoteCacheAttributes().getGetOnly() ) { if ( log.isDebugEnabled() ) { log.debug( "remove> key=" + key ); } try { getRemoteCacheService().remove( cacheName, key, getListenerId() ); } catch ( Exception ex ) { handleException( ex, "Failed to remove " + key + " from " + cacheName, ICacheEventLogger.REMOVE_EVENT ); } return true; } return false; }
try Map<K, ICacheElement<K, V>> rawResults = getRemoteCacheService().getMatching( cacheName, pattern, getListenerId() );
/** * Synchronously remove from the remote cache; if failed, replace the remote handle with a * zombie. * <p> * @param key * @return boolean, whether or not the item was removed * @throws IOException */ @Override protected boolean processRemove( K key ) throws IOException { if ( !this.getRemoteCacheAttributes().getGetOnly() ) { if ( log.isDebugEnabled() ) { log.debug( "remove> key=" + key ); } try { getRemoteCacheService().remove( cacheName, key, getListenerId() ); } catch ( Exception ex ) { handleException( ex, "Failed to remove " + key + " from " + cacheName, ICacheEventLogger.REMOVE_EVENT ); } return true; } return false; }
remoteCacheService.update( serialized, getListenerId() );
remoteCacheService.update( serialized, getListenerId() );
/** * Synchronously removeAll from the remote cache; if failed, replace the remote handle with a * zombie. * <p> * @throws IOException */ @Override protected void processRemoveAll() throws IOException { if ( !this.getRemoteCacheAttributes().getGetOnly() ) { try { getRemoteCacheService().removeAll( cacheName, getListenerId() ); } catch ( Exception ex ) { handleException( ex, "Failed to remove all from " + cacheName, ICacheEventLogger.REMOVEALL_EVENT ); } } }
/** * Synchronously removeAll from the remote cache; if failed, replace the remote handle with a * zombie. * <p> * @throws IOException */ @Override protected void processRemoveAll() throws IOException { if ( !this.getRemoteCacheAttributes().getGetOnly() ) { try { getRemoteCacheService().removeAll( cacheName, getListenerId() ); } catch ( Exception ex ) { handleException( ex, "Failed to remove all from " + cacheName, ICacheEventLogger.REMOVEALL_EVENT ); } } }
retVal = getRemoteCacheService().get( cacheName, key, getListenerId() );
retVal = getRemoteCacheService().get( cacheName, key, getListenerId() );