| Package | Description |
|---|---|
| org.apache.flume.api | |
| org.apache.flume.event |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftRpcClient.append(Event event) |
void |
RpcClient.append(Event event)
Send a single
Event to the associated Flume source. |
void |
NettyAvroRpcClient.append(Event event) |
void |
LoadBalancingRpcClient.append(Event event) |
void |
FailoverRpcClient.append(Event event)
Tries to append an event to the currently connected client.
|
abstract void |
AbstractRpcClient.append(Event event) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftRpcClient.appendBatch(List<Event> events) |
void |
RpcClient.appendBatch(List<Event> events)
Send a list of events to the associated Flume source.
|
void |
NettyAvroRpcClient.appendBatch(List<Event> events) |
void |
LoadBalancingRpcClient.appendBatch(List<Event> events) |
void |
FailoverRpcClient.appendBatch(List<Event> events)
Tries to append a list of events to the currently connected client.
|
abstract void |
AbstractRpcClient.appendBatch(List<Event> events) |
| Modifier and Type | Class and Description |
|---|---|
class |
JSONEvent |
class |
SimpleEvent |
| Modifier and Type | Method and Description |
|---|---|
static Event |
EventBuilder.withBody(byte[] body) |
static Event |
EventBuilder.withBody(byte[] body,
Map<String,String> headers)
Instantiate an Event instance based on the provided body and headers.
|
static Event |
EventBuilder.withBody(String body,
Charset charset) |
static Event |
EventBuilder.withBody(String body,
Charset charset,
Map<String,String> headers) |
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.