Interface ICacheManager

  • All Superinterfaces:
    com4j.Com4jObject

    public interface ICacheManager
    extends com4j.Com4jObject
    For HP use. Cache-related services.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String cachedData​(String dataType, String dataCacheKey)
      The entity cache data for the specified entity type and id.
      void cachedData​(String dataType, String dataCacheKey, String data)
      The entity cache data for the specified entity type and id.
      int cacheKey()
      The cache ID for the current connection.
      void removeCachedData​(String dataType, String dataCacheKey, int timeDelay)
      Remove entity cache data according entity type and id.
      • Methods inherited from interface com4j.Com4jObject

        advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
    • Method Detail

      • cacheKey

        int cacheKey()

        The cache ID for the current connection.

        Getter method for the COM property "CacheKey"

        Returns:
        Returns a value of type int
      • cachedData

        String cachedData​(String dataType,
                          String dataCacheKey)

        The entity cache data for the specified entity type and id.

        Getter method for the COM property "CachedData"

        Parameters:
        dataType - Mandatory java.lang.String parameter.
        dataCacheKey - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type java.lang.String
      • cachedData

        void cachedData​(String dataType,
                        String dataCacheKey,
                        String data)

        The entity cache data for the specified entity type and id.

        Setter method for the COM property "CachedData"

        Parameters:
        dataType - Mandatory java.lang.String parameter.
        dataCacheKey - Mandatory java.lang.String parameter.
        data - Mandatory java.lang.String parameter.
      • removeCachedData

        void removeCachedData​(String dataType,
                              String dataCacheKey,
                              int timeDelay)

        Remove entity cache data according entity type and id.

        Parameters:
        dataType - Mandatory java.lang.String parameter.
        dataCacheKey - Mandatory java.lang.String parameter.
        timeDelay - Mandatory int parameter.