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 final PipesResult CLIENT_UNAVAILABLE_WITHIN_MS
public static final PipesResult TIMEOUT
public static final PipesResult OOM
public static final PipesResult UNSPECIFIED_CRASH
public static final PipesResult EMIT_SUCCESS
public static final PipesResult INTERRUPTED_EXCEPTION
public static final PipesResult EMPTY_OUTPUT
public PipesResult(PipesResult.STATUS status)
public PipesResult(PipesResult.STATUS status, String message)
public PipesResult(EmitData emitData)
emitData
- Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.