Class DdcCacheKey

  • All Implemented Interfaces:
    java.io.Serializable

    public class DdcCacheKey
    extends java.lang.Object
    implements java.io.Serializable
    A cache-key that identifies a DDC in the DDC-cache using the ddc's name and the ID of the current tenant. DDC-names are not case-sensitive.
    Author:
    cmerkel
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DdcCacheKey​(java.lang.String name, int tenantId)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DdcCacheKey

        public DdcCacheKey​(java.lang.String name,
                           int tenantId)
        Constructor.
        Parameters:
        name - the name of the DDC (will be converted to upper-case)
        tenantId - the ID of the current tenant
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object