Package com.brightcove.player.analytics
Class AnalyticsOutOfSpaceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.brightcove.player.analytics.AnalyticsOutOfSpaceException
- All Implemented Interfaces:
Serializable
An
IOException
that describes the reason why an AnalyticsEvent
cannot be saved.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
The current limit for backlog size, expressed as total number of bytes.final long
The current backlog size, expressed as total number of bytes.An immutable map of HTTP query parameter names and values to be sent to the server.final int
The priority of the event.final String
The type of the analytics event. -
Constructor Summary
ConstructorDescriptionAnalyticsOutOfSpaceException
(com.brightcove.player.analytics.AnalyticsEvent event, long backlogSize, long backlogLimit, Throwable cause) Constructs an instance ofAnalyticsOutOfSpaceException
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
priority
public final int priorityThe priority of the event. -
type
The type of the analytics event. -
parameters
An immutable map of HTTP query parameter names and values to be sent to the server. -
backlogSize
public final long backlogSizeThe current backlog size, expressed as total number of bytes. -
backlogLimit
public final long backlogLimitThe current limit for backlog size, expressed as total number of bytes.
-
-
Constructor Details
-
AnalyticsOutOfSpaceException
public AnalyticsOutOfSpaceException(@NonNull com.brightcove.player.analytics.AnalyticsEvent event, long backlogSize, long backlogLimit, @Nullable Throwable cause) Constructs an instance ofAnalyticsOutOfSpaceException
- Parameters:
event
- reference to the event that cannot be saved.backlogSize
- the current backlog size, expressed as total number of bytes.backlogLimit
- the current limit for backlog size, expressed as total number of bytes.cause
- reference the error that caused the event that required to be saved, if any.
-