Class CacheJdbcPersonStore

  • All Implemented Interfaces:
    javax.cache.integration.CacheLoader<java.lang.Long,​Person>, javax.cache.integration.CacheWriter<java.lang.Long,​Person>, CacheStore<java.lang.Long,​Person>

    public class CacheJdbcPersonStore
    extends CacheStoreAdapter<java.lang.Long,​Person>
    Example of CacheStore implementation that uses JDBC transaction with cache transactions and maps Long to Person.
    • Constructor Detail

      • CacheJdbcPersonStore

        public CacheJdbcPersonStore()
    • Method Detail

      • load

        public Person load​(java.lang.Long key)
      • write

        public void write​(javax.cache.Cache.Entry<? extends java.lang.Long,​? extends Person> entry)
      • delete

        public void delete​(java.lang.Object key)