public class PipesResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PipesResult.STATUS |
Modifier and Type | Field and Description |
---|---|
static PipesResult |
CLIENT_UNAVAILABLE_WITHIN_MS |
static PipesResult |
EMIT_SUCCESS |
static PipesResult |
EMPTY_OUTPUT |
static PipesResult |
INTERRUPTED_EXCEPTION |
static PipesResult |
OOM |
static PipesResult |
TIMEOUT |
static PipesResult |
UNSPECIFIED_CRASH |
Constructor and Description |
---|
PipesResult(EmitData emitData)
This assumes parse success with no parse exception
|
PipesResult(EmitData emitData,
String message)
This assumes that the message is a stack trace (container
parse exception).
|
PipesResult(PipesResult.STATUS status) |
PipesResult(PipesResult.STATUS status,
String message) |
Modifier and Type | Method and Description |
---|---|
EmitData |
getEmitData() |
String |
getMessage() |
PipesResult.STATUS |
getStatus() |
String |
toString() |
public static PipesResult CLIENT_UNAVAILABLE_WITHIN_MS
public static PipesResult TIMEOUT
public static PipesResult OOM
public static PipesResult UNSPECIFIED_CRASH
public static PipesResult EMIT_SUCCESS
public static PipesResult INTERRUPTED_EXCEPTION
public static PipesResult EMPTY_OUTPUT
public PipesResult(PipesResult.STATUS status)
public PipesResult(PipesResult.STATUS status, String message)
public PipesResult(EmitData emitData)
emitData
- Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.