Class CaffeineDefaultExpiry

  • All Implemented Interfaces:
    com.github.benmanes.caffeine.cache.Expiry<Object,​Object>

    @Deprecated
    public final class CaffeineDefaultExpiry
    extends Object
    implements com.github.benmanes.caffeine.cache.Expiry<Object,​Object>
    Deprecated.
    Deprecated as of 2.8.0. This is an implementation detail and it was not supposed to be public.
    • Constructor Detail

      • CaffeineDefaultExpiry

        public CaffeineDefaultExpiry()
        Deprecated.
    • Method Detail

      • expireAfterCreate

        public long expireAfterCreate​(@Nonnull
                                      Object key,
                                      @Nonnull
                                      Object value,
                                      long currentTime)
        Deprecated.
        Specified by:
        expireAfterCreate in interface com.github.benmanes.caffeine.cache.Expiry<Object,​Object>
      • expireAfterUpdate

        public long expireAfterUpdate​(@Nonnull
                                      Object key,
                                      @Nonnull
                                      Object value,
                                      long currentTime,
                                      long currentDuration)
        Deprecated.
        Specified by:
        expireAfterUpdate in interface com.github.benmanes.caffeine.cache.Expiry<Object,​Object>
      • expireAfterRead

        public long expireAfterRead​(@Nonnull
                                    Object key,
                                    @Nonnull
                                    Object value,
                                    long currentTime,
                                    long currentDuration)
        Deprecated.
        Specified by:
        expireAfterRead in interface com.github.benmanes.caffeine.cache.Expiry<Object,​Object>