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
      java.lang.String cachedData​(java.lang.String dataType, java.lang.String dataCacheKey)
      The entity cache data for the specified entity type and ID.
      void cachedData​(java.lang.String dataType, java.lang.String dataCacheKey, java.lang.String data)
      The entity cache data for the specified entity type and ID.
      int cacheKey()
      The cache ID for the current connection.
      void removeCachedData​(java.lang.String dataType, java.lang.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

        java.lang.String cachedData​(java.lang.String dataType,
                                    java.lang.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​(java.lang.String dataType,
                        java.lang.String dataCacheKey,
                        java.lang.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​(java.lang.String dataType,
                              java.lang.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.