org.redkale.service

## 类 CacheSourceService.CacheEntry<K extends java.io.Serializable,T>

- java.lang.Object
- - org.redkale.service.CacheSourceService.CacheEntry<K,T>

- 封闭类:
    CacheSourceService<K extends java.io.Serializable,V>

      public static final class CacheSourceService.CacheEntry<K extends java.io.Serializable,T>
      extends java.lang.Object

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static java.lang.String` | `JSON_LIST_KEY`
    `static java.lang.String` | `JSON_SET_KEY`

  - ### 构造器概要

    构造器
    构造器和说明
    `CacheEntry(CacheSourceService.CacheEntryType cacheType, int expireSeconds, int lastAccessed, K key, T value)`
    `CacheEntry(CacheSourceService.CacheEntryType cacheType, int expireSeconds, K key, T value)`
    `CacheEntry(CacheSourceService.CacheEntryType cacheType, K key, T value)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `CacheSourceService.CacheEntryType` | `getCacheType()`
    `int` | `getExpireSeconds()`
    `K` | `getKey()`
    `int` | `getLastAccessed()`
    `T` | `getValue()`
    `boolean` | `isExpired()`
    `boolean` | `isListCacheType()`
    `boolean` | `isSetCacheType()`
    `java.lang.String` | `toString()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 字段详细资料

    - #### JSON_SET_KEY

          public static final java.lang.String JSON_SET_KEY

    - #### JSON_LIST_KEY

          public static final java.lang.String JSON_LIST_KEY

  - ### 构造器详细资料

    - #### CacheEntry

          public CacheEntry(CacheSourceService.CacheEntryType cacheType,
                            K key,
                            T value)

    - #### CacheEntry

          public CacheEntry(CacheSourceService.CacheEntryType cacheType,
                            int expireSeconds,
                            K key,
                            T value)

    - #### CacheEntry

          @ConstructorProperties(value={"cacheType","expireSeconds","lastAccessed","key","value"})
          public CacheEntry(CacheSourceService.CacheEntryType cacheType,
                                                                                                                      int expireSeconds,
                                                                                                                      int lastAccessed,
                                                                                                                      K key,
                                                                                                                      T value)

  - ### 方法详细资料

    - #### toString

          public java.lang.String toString()

      覆盖:
        `toString` 在类中 `java.lang.Object`

    - #### isListCacheType

          @ConvertColumn(ignore=true)
          public boolean isListCacheType()

    - #### isSetCacheType

          @ConvertColumn(ignore=true)
          public boolean isSetCacheType()

    - #### isExpired

          @ConvertColumn(ignore=true)
          public boolean isExpired()

    - #### getCacheType

          public CacheSourceService.CacheEntryType getCacheType()

    - #### getExpireSeconds

          public int getExpireSeconds()

    - #### getLastAccessed

          public int getLastAccessed()

    - #### getValue

          public T getValue()

    - #### getKey

          public K getKey()