Interface ReservedTables
-
public interface ReservedTablesReserved Punch streams.- _PPF_METRICS : latency metrics are emitted on this table
- _PPF_ERRORS : punch bolt exceptions generate an error document emitted on this table
- Author:
- dimi
-
-
Field Summary
Fields Modifier and Type Field Description static String_PPF_ERRORSPunch exceptions are caught and emitted on this error streamstatic String_PPF_METRICSLatency points are emitted on a reserved stream.static String_PPF_SUCCESSESUsed in the archive reader only.static StringPREFIXDefine the prefix used in any IReservedStreamsstatic List<String>RESERVED_TABLESList of all known reserved streams
-
Method Summary
Static Methods Modifier and Type Method Description static booleanisReservedStream(io.github.punchplatform.api.punchline.Out tableId)static booleanisReservedStream(String tableId)
-
-
-
Field Detail
-
PREFIX
static final String PREFIX
Define the prefix used in any IReservedStreams- See Also:
- Constant Field Values
-
_PPF_METRICS
static final String _PPF_METRICS
Latency points are emitted on a reserved stream. This is the id of that stream.- See Also:
- Constant Field Values
-
_PPF_ERRORS
static final String _PPF_ERRORS
Punch exceptions are caught and emitted on this error stream- See Also:
- Constant Field Values
-
_PPF_SUCCESSES
static final String _PPF_SUCCESSES
Used in the archive reader only.- See Also:
- Constant Field Values
-
-
Method Detail
-
isReservedStream
static boolean isReservedStream(String tableId)
- Parameters:
tableId- a stream identifier- Returns:
- true if the stream identifier is one of the punch reserved stream.
-
isReservedStream
static boolean isReservedStream(io.github.punchplatform.api.punchline.Out tableId)
-
-