Package com.opencloud.sentinel.config
Interface SentinelConfiguration
-
public interface SentinelConfigurationProperties related to the sentinel installation and common to all Sentinel services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDefaultNetworkOperator()Get the default name that should be used as the network operator for this sentinel installation.java.lang.StringgetDefaultOcsEntityId()Get the default OcsEntityId to use to populate the OcsEntityId field in session state.intgetFeatureTimeOut()Get the feature timeout in millisecondsjava.lang.StringgetHttpParameterForHttpDetermineNetworkOperator()longgetMaxCallDuration()Get the maximum permitted call/session duration, or 0 if no limit.intgetPeriodicWorkInterval()Get the interval (in seconds) to trigger periodic work.java.lang.StringgetPlatformOperator()Get the name of the company who operates this sentinel installation.
-
-
-
Method Detail
-
getPlatformOperator
java.lang.String getPlatformOperator()
Get the name of the company who operates this sentinel installation.- Returns:
- The name of the platform operator
-
getDefaultNetworkOperator
java.lang.String getDefaultNetworkOperator()
Get the default name that should be used as the network operator for this sentinel installation.- Returns:
- The name of the default network operator for this platform
-
getHttpParameterForHttpDetermineNetworkOperator
java.lang.String getHttpParameterForHttpDetermineNetworkOperator()
- Returns:
- The name of the field of the http request to map to the network operator
-
getDefaultOcsEntityId
java.lang.String getDefaultOcsEntityId()
Get the default OcsEntityId to use to populate the OcsEntityId field in session state.- Returns:
- The default OcsEntityId
-
getMaxCallDuration
long getMaxCallDuration()
Get the maximum permitted call/session duration, or 0 if no limit.- Returns:
- the maximum permitted call/session duration
-
getFeatureTimeOut
int getFeatureTimeOut()
Get the feature timeout in milliseconds- Returns:
- the timeout in milliseconds
-
getPeriodicWorkInterval
int getPeriodicWorkInterval()
Get the interval (in seconds) to trigger periodic work.- Returns:
- the periodic work interval in seconds.
-
-