com.ibm.tivoli.maximo.iotservices

Class IoTServicesCache

    • Method Detail

      • getInstance

        public static final IoTServicesCache getInstance()
        Returns:
        the cache instance
      • getName

        public java.lang.String getName()
        Description copied from interface: MaximoCache
        Returns the name of the cache object. Should be unique within the app server. This name is used to uniquely identify the cache object among all cached object for both accessing the cache object as well as refreshing the cache object. Ex. MaximoDD returns "MAXIMODD"
        Returns:
      • getAllIoTServices

        public java.util.Map getAllIoTServices()
      • getDefaultHistorian

        public java.lang.String getDefaultHistorian()
      • getDefaultHistorianProcessor

        public java.lang.String getDefaultHistorianProcessor()
      • getDefaultHistorianEndPoint

        public java.lang.String getDefaultHistorianEndPoint()
      • getDefaultHistorianIotServiceName

        public java.lang.String getDefaultHistorianIotServiceName()
      • getAllServicesList

        public java.util.List getAllServicesList()
      • getActiveServiceName

        public java.lang.String getActiveServiceName()
      • getJsonResourceForActiveService

        public java.lang.String getJsonResourceForActiveService()
      • getPayloadPropsForAllServices

        public java.util.Map getPayloadPropsForAllServices()
      • getPayloadProps

        public java.util.Map getPayloadProps(java.lang.String service)
      • getPayloadProps

        public java.util.Map getPayloadProps(java.lang.String service,
                                             java.lang.String usedby)
      • getPayloadPropsUsedBy

        public IoTPayloadPropsInfo getPayloadPropsUsedBy(java.lang.String service,
                                                         java.lang.String property)
      • isServiceActive

        public boolean isServiceActive(java.lang.String servicename)
      • getIoTService

        public IoTServicesInfo getIoTService(java.lang.String servicename)
      • getDeviceTypeInfoForActiveService

        public java.util.Map getDeviceTypeInfoForActiveService()
      • getAllEndPointInfo

        public java.util.Map getAllEndPointInfo()
      • getEndPointInfo

        public java.util.List getEndPointInfo(java.lang.String servicename)
        Returns a list of EndPoint (IoTRestEndPointsInfo) for a given service.
        Parameters:
        servicename -
        Returns:
      • getEndPointValue

        public java.lang.String getEndPointValue(java.lang.String servicename,
                                                 java.lang.String usedwith)
        Returns the endpoint value for a given servicename/usedwith
        Parameters:
        servicename -
        usedwith -
        Returns:
      • getEndPointInfo

        public IoTRestEndPointsInfo getEndPointInfo(java.lang.String servicename,
                                                    java.lang.String usedwith)
        Returns the endpoint info
        Parameters:
        servicename -
        usedwith -
        Returns: