@InterfaceAudience.Public public final class InputReadErrorEvent extends Event
Modifier and Type | Method and Description |
---|---|
static InputReadErrorEvent |
create(String diagnostics,
int index,
int version)
Creates an InputReadErrorEvent from less parameters, supposed to be used from tests only.
|
static InputReadErrorEvent |
create(String diagnostics,
int index,
int version,
boolean isLocalFetch,
boolean isDiskErrorAtSource,
String destinationLocalhostName) |
static InputReadErrorEvent |
create(String diagnostics,
int index,
int version,
int numFailures,
boolean isLocalFetch,
boolean isDiskErrorAtSource,
String destinationLocalhostName)
Create an InputReadErrorEvent.
|
boolean |
equals(Object o) |
String |
getDestinationLocalhostName() |
String |
getDiagnostics() |
int |
getIndex() |
int |
getNumFailures() |
int |
getVersion() |
int |
hashCode() |
boolean |
isDiskErrorAtSource() |
boolean |
isLocalFetch() |
public static InputReadErrorEvent create(String diagnostics, int index, int version)
diagnostics
- index
- version
- public static InputReadErrorEvent create(String diagnostics, int index, int version, boolean isLocalFetch, boolean isDiskErrorAtSource, String destinationLocalhostName)
public static InputReadErrorEvent create(String diagnostics, int index, int version, int numFailures, boolean isLocalFetch, boolean isDiskErrorAtSource, String destinationLocalhostName)
public String getDiagnostics()
public int getIndex()
public int getVersion()
public int getNumFailures()
public boolean isLocalFetch()
public boolean isDiskErrorAtSource()
public String getDestinationLocalhostName()
Copyright © 2024 Apache Software Foundation. All rights reserved.