Module watamebot

Interface Cacheable


public interface Cacheable
Author:
Ashley
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Get the cache expiration time.
    boolean
    Check if this property can be cached.
  • Method Details

    • isCacheable

      boolean isCacheable()
      Check if this property can be cached.
      Returns:
      Returns true if this property can be stored and expire after a period of time
      See Also:
    • getExpirationTime

      long getExpirationTime()
      Get the cache expiration time.
      Returns:
      Returns the maximum period of time (in milliseconds) this property can be stored before it value expires.
      See Also: