public class IoTServicesCache extends AbstractMaximoMTEnabledCache
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActiveServiceName() |
java.util.Map<java.lang.String,java.util.List<IoTRestEndPointsInfo>> |
getAllEndPointInfo() |
java.util.Map |
getAllIoTServices() |
java.util.List |
getAllServicesList() |
java.lang.String |
getDefaultHistorian() |
java.lang.String |
getDefaultHistorianEndPoint() |
java.lang.String |
getDefaultHistorianIotServiceName() |
java.lang.String |
getDefaultHistorianProcessor() |
java.util.Map<java.lang.String,IoTServiceDeviceTypeInfo> |
getDeviceTypeInfoForActiveService() |
java.util.List<IoTRestEndPointsInfo> |
getEndPointInfo(java.lang.String servicename)
Returns a list of EndPoint (IoTRestEndPointsInfo) for a given service.
|
IoTRestEndPointsInfo |
getEndPointInfo(java.lang.String servicename,
java.lang.String usedwith)
Returns the endpoint info
|
java.lang.String |
getEndPointValue(java.lang.String servicename,
java.lang.String usedwith)
Returns the endpoint value for a given servicename/usedwith
|
static IoTServicesCache |
getInstance() |
IoTServicesInfo |
getIoTService(java.lang.String servicename) |
java.lang.String |
getJsonResourceForActiveService() |
java.lang.String |
getName()
Returns the name of the cache object.
|
java.util.Map<java.lang.String,java.lang.String> |
getPayloadProps(java.lang.String service) |
java.util.Map<java.lang.String,java.lang.String> |
getPayloadProps(java.lang.String service,
java.lang.String usedby) |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getPayloadPropsForAllServices() |
IoTPayloadPropsInfo |
getPayloadPropsUsedBy(java.lang.String service,
java.lang.String property) |
boolean |
isServiceActive(java.lang.String servicename) |
getCache, getLoadedTenants, init, isLoaded, reload, reload, unloadInactiveCaches, unloadTenant
public static final IoTServicesCache getInstance()
public java.lang.String getName()
MaximoCache
public java.util.Map getAllIoTServices()
public java.lang.String getDefaultHistorian()
public java.lang.String getDefaultHistorianProcessor()
public java.lang.String getDefaultHistorianEndPoint()
public java.lang.String getDefaultHistorianIotServiceName()
public java.util.List getAllServicesList()
public java.lang.String getActiveServiceName()
public java.lang.String getJsonResourceForActiveService()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getPayloadPropsForAllServices()
public java.util.Map<java.lang.String,java.lang.String> getPayloadProps(java.lang.String service)
public java.util.Map<java.lang.String,java.lang.String> getPayloadProps(java.lang.String service, java.lang.String usedby)
public IoTPayloadPropsInfo getPayloadPropsUsedBy(java.lang.String service, java.lang.String property)
public boolean isServiceActive(java.lang.String servicename)
public IoTServicesInfo getIoTService(java.lang.String servicename)
public java.util.Map<java.lang.String,IoTServiceDeviceTypeInfo> getDeviceTypeInfoForActiveService()
public java.util.Map<java.lang.String,java.util.List<IoTRestEndPointsInfo>> getAllEndPointInfo()
public java.util.List<IoTRestEndPointsInfo> getEndPointInfo(java.lang.String servicename)
servicename
- public java.lang.String getEndPointValue(java.lang.String servicename, java.lang.String usedwith)
servicename
- usedwith
- public IoTRestEndPointsInfo getEndPointInfo(java.lang.String servicename, java.lang.String usedwith)
servicename
- usedwith
-