/** * 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 pattern Used to match keys. * @return A map of matches.. * @throws IOException */ protected final Map<K, ICacheElement<K, V>> doGetMatching( String pattern ) throws IOException { return super.getMatchingWithEventLogging( pattern ); }
/** * 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 pattern Used to match keys. * @return A map of matches.. * @throws IOException */ protected final Map<K, ICacheElement<K, V>> doGetMatching( String pattern ) throws IOException { return super.getMatchingWithEventLogging( pattern ); }
/** * Gets items from the cache matching the given pattern. Items from memory will replace those * from remote sources. * * This only works with string keys. It's too expensive to do a toString on every key. * * Auxiliaries will do their best to handle simple expressions. For instance, the JDBC disk * cache will convert * to % and . to _ * * @param pattern * @return a map of K key to ICacheElement<K, V> element, or an empty map if there is no * data matching the pattern. * @throws IOException */ @Override public Map<K, ICacheElement<K, V>> getMatching( String pattern ) throws IOException { return getMatchingWithEventLogging( pattern ); }
/** * Gets items from the cache matching the given pattern. Items from memory will replace those * from remote sources. * <p> * This only works with string keys. It's too expensive to do a toString on every key. * <p> * Auxiliaries will do their best to handle simple expressions. For instance, the JDBC disk * cache will convert * to % and . to _ * <p> * @param pattern * @return a map of K key to ICacheElement<K, V> element, or an empty map if there is no * data matching the pattern. * @throws IOException */ @Override public Map<K, ICacheElement<K, V>> getMatching( String pattern ) throws IOException { return getMatchingWithEventLogging( pattern ); }