public final class ConsumingEgressSpec<T> extends java.lang.Object implements EgressSpec<T>, java.io.Serializable
Constructor and Description |
---|
ConsumingEgressSpec(EgressIdentifier<T> id,
SerializableConsumer<T> consumer) |
Modifier and Type | Method and Description |
---|---|
EgressIdentifier<T> |
id()
Returns the unique identifier of the egress.
|
EgressType |
type()
Returns the type of the egress.
|
public ConsumingEgressSpec(EgressIdentifier<T> id, SerializableConsumer<T> consumer)
public EgressIdentifier<T> id()
EgressSpec
id
in interface EgressSpec<T>
public EgressType type()
EgressSpec
type
in interface EgressSpec<T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.