Class DBCacheDependency

  • All Implemented Interfaces:
    java.io.Serializable

    public class DBCacheDependency
    extends CacheDependency
    Establishes a relationship between an item stored in an application's Cache object and either a specific database table. This class cannot be inherited.
    See Also:
    Serialized Form
    • Constructor Detail

      • DBCacheDependency

        public DBCacheDependency()
    • Method Detail

      • getConnectionString

        public java.lang.String getConnectionString()
        A connection string that is required by the cache in order to connect with database.
        Returns:
        The connection string associated with dependency.
      • getPrimaryKey

        public java.lang.String getPrimaryKey()
        Primary key of the item in database.
        Returns:
        The primary key associated with dependency.