Class ClientInfo
- java.lang.Object
-
- com.amazonaws.kinesisvideo.producer.ClientInfo
-
public class ClientInfo extends Object
Client information object. NOTE: This should follow the structure defined in /client/Include.h NOTE: Suppressing Findbug error as this code will be accessed from native codebase.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientInfo.AutomaticStreamingFlags
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_INFO_CURRENT_VERSIONCurrent version for the structure as defined in the native codestatic intDEFAULT_LOG_LEVELstatic intLOG_LEVEL_DEBUG
-
Constructor Summary
Constructors Constructor Description ClientInfo()Deprecated.ClientInfo(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout)Deprecated.ClientInfo(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, ClientInfo.AutomaticStreamingFlags flag, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout)Deprecated.ClientInfo(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, ClientInfo.AutomaticStreamingFlags flag, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout, long metricLoggingPeriod, long reservedCallbackPeriod, KvsRetryStrategy kvsRetryStrategy)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientInfocreateClientInfoV0(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric)static ClientInfocreateClientInfoV1(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long metricLoggingPeriod)static ClientInfocreateClientInfoV2(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long metricLoggingPeriod, ClientInfo.AutomaticStreamingFlags automaticStreamingFlags, long reservedCallbackPeriod, KvsRetryStrategy kvsRetryStrategy)static ClientInfocreateClientInfoV3(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long metricLoggingPeriod, ClientInfo.AutomaticStreamingFlags automaticStreamingFlags, long reservedCallbackPeriod, KvsRetryStrategy kvsRetryStrategy, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout)intgetAutomaticStreamingFlags()longgetCreateClientTimeout()longgetCreateStreamTimeout()KvsRetryStrategygetKvsRetryStrategy()intgetLoggerLogLevel()booleangetLogMetric()longgetMetricLoggingPeriod()longgetOfflineBufferAvailabilityTimeout()longgetReservedCallbackPeriod()longgetServiceCompletionTimeout()longgetServiceConnectionTimeout()longgetStopStreamTimeout()intgetVersion()
-
-
-
Field Detail
-
CLIENT_INFO_CURRENT_VERSION
public static final int CLIENT_INFO_CURRENT_VERSION
Current version for the structure as defined in the native code- See Also:
- Constant Field Values
-
DEFAULT_LOG_LEVEL
public static final int DEFAULT_LOG_LEVEL
- See Also:
- Constant Field Values
-
LOG_LEVEL_DEBUG
public static final int LOG_LEVEL_DEBUG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClientInfo
@Deprecated public ClientInfo()
Deprecated.
-
ClientInfo
@Deprecated public ClientInfo(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout)
Deprecated.
-
ClientInfo
@Deprecated public ClientInfo(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, ClientInfo.AutomaticStreamingFlags flag, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout)
Deprecated.
-
ClientInfo
@Deprecated public ClientInfo(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, ClientInfo.AutomaticStreamingFlags flag, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout, long metricLoggingPeriod, long reservedCallbackPeriod, KvsRetryStrategy kvsRetryStrategy)
Deprecated.
-
-
Method Detail
-
createClientInfoV0
public static ClientInfo createClientInfoV0(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric)
-
createClientInfoV1
public static ClientInfo createClientInfoV1(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long metricLoggingPeriod)
-
createClientInfoV2
public static ClientInfo createClientInfoV2(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long metricLoggingPeriod, ClientInfo.AutomaticStreamingFlags automaticStreamingFlags, long reservedCallbackPeriod, KvsRetryStrategy kvsRetryStrategy)
-
createClientInfoV3
public static ClientInfo createClientInfoV3(long createClientTimeout, long createStreamTimeout, long stopStreamTimeout, long offlineBufferAvailabilityTimeout, int logLevel, boolean logMetric, long metricLoggingPeriod, ClientInfo.AutomaticStreamingFlags automaticStreamingFlags, long reservedCallbackPeriod, KvsRetryStrategy kvsRetryStrategy, long serviceCallCompletionTimeout, long serviceCallConnectionTimeout)
-
getVersion
@CalledByNativeCode public int getVersion()
-
getCreateClientTimeout
@CalledByNativeCode public long getCreateClientTimeout()
-
getCreateStreamTimeout
@CalledByNativeCode public long getCreateStreamTimeout()
-
getStopStreamTimeout
@CalledByNativeCode public long getStopStreamTimeout()
-
getOfflineBufferAvailabilityTimeout
@CalledByNativeCode public long getOfflineBufferAvailabilityTimeout()
-
getLoggerLogLevel
@CalledByNativeCode public int getLoggerLogLevel()
-
getLogMetric
@CalledByNativeCode public boolean getLogMetric()
-
getAutomaticStreamingFlags
@CalledByNativeCode public int getAutomaticStreamingFlags()
-
getServiceCompletionTimeout
@CalledByNativeCode public long getServiceCompletionTimeout()
-
getServiceConnectionTimeout
@CalledByNativeCode public long getServiceConnectionTimeout()
-
getMetricLoggingPeriod
public long getMetricLoggingPeriod()
-
getReservedCallbackPeriod
public long getReservedCallbackPeriod()
-
getKvsRetryStrategy
public KvsRetryStrategy getKvsRetryStrategy()
-
-