/** * Gets the item from the cache. * <p> * @param key * @return ICacheElement, a wrapper around the key, value, and attributes * @throws IOException */ @Override public ICacheElement<K, V> get( K key ) throws IOException { return getWithEventLogging( key ); }
/** * Gets the item from the cache. * * @param key * @return ICacheElement, a wrapper around the key, value, and attributes * @throws IOException */ @Override public ICacheElement<K, V> get( K key ) throws IOException { return getWithEventLogging( key ); }
/** * Get a value from the persistent store. * * Before the event logging layer, the subclasses implemented the do* methods. Now the do* * methods call the *EventLogging method on the super. The *WithEventLogging methods call the * abstract process* methods. The children implement the process methods. * * @param key Key to locate value for. * @return An object matching key, or null. * @throws IOException */ protected final ICacheElement<K, V> doGet( K key ) throws IOException { return super.getWithEventLogging( key ); }
/** * Get a value from the persistent store. * <p> * Before the event logging layer, the subclasses implemented the do* methods. Now the do* * methods call the *EventLogging method on the super. The *WithEventLogging methods call the * abstract process* methods. The children implement the process methods. * <p> * @param key Key to locate value for. * @return An object matching key, or null. * @throws IOException */ protected final ICacheElement<K, V> doGet( K key ) throws IOException { return super.getWithEventLogging( key ); }