Class AbstractCacheableCall<T>

java.lang.Object
com.linecorp.centraldogma.server.storage.repository.AbstractCacheableCall<T>
All Implemented Interfaces:
CacheableCall<T>

public abstract class AbstractCacheableCall<T> extends Object implements CacheableCall<T>
A skeletal implementation of CacheableCall.
  • Constructor Details

    • AbstractCacheableCall

      protected AbstractCacheableCall(Repository repo)
      Creates a new instance.
  • Method Details

    • repo

      protected final Repository repo()
      Returns the Repository which this call is associated with.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • toString

      protected abstract void toString(com.google.common.base.MoreObjects.ToStringHelper helper)
      Overrides this method to add more information to the toString() result.