Package com.google.cloud.hadoop.util
Class GcsJsonApiEvent
java.lang.Object
com.google.cloud.hadoop.util.GcsJsonApiEvent
- All Implemented Interfaces:
IGcsJsonApiEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGcsJsonApiEvent(com.google.api.client.http.HttpRequest request, GcsJsonApiEvent.EventType eventType, Object context) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key) static GcsJsonApiEventgetResponseEvent(com.google.api.client.http.HttpResponse httpResponse, long duration, Object context) toString()
-
Field Details
-
BACKOFF_TIME
- See Also:
-
RETRY_COUNT
- See Also:
-
STATUS_CODE
- See Also:
-
DURATION
- See Also:
-
REQUEST_TYPE
- See Also:
-
-
Constructor Details
-
GcsJsonApiEvent
protected GcsJsonApiEvent(@Nonnull com.google.api.client.http.HttpRequest request, GcsJsonApiEvent.EventType eventType, Object context)
-
-
Method Details
-
getResponseEvent
public static GcsJsonApiEvent getResponseEvent(com.google.api.client.http.HttpResponse httpResponse, @Nonnegative long duration, Object context) -
getEventType
- Specified by:
getEventTypein interfaceIGcsJsonApiEvent
-
getContext
- Specified by:
getContextin interfaceIGcsJsonApiEvent
-
getMethod
- Specified by:
getMethodin interfaceIGcsJsonApiEvent
-
getProperty
- Specified by:
getPropertyin interfaceIGcsJsonApiEvent
-
toString
-