org.apache.flume.source.avro
Interface AvroSourceProtocol.Callback

All Superinterfaces:
AvroSourceProtocol
Enclosing interface:
AvroSourceProtocol

public static interface AvroSourceProtocol.Callback
extends AvroSourceProtocol


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.flume.source.avro.AvroSourceProtocol
AvroSourceProtocol.Callback
 
Field Summary
static org.apache.avro.Protocol PROTOCOL
           
 
Method Summary
 void append(AvroFlumeEvent event, org.apache.avro.ipc.Callback<Status> callback)
           
 void appendBatch(List<AvroFlumeEvent> events, org.apache.avro.ipc.Callback<Status> callback)
           
 
Methods inherited from interface org.apache.flume.source.avro.AvroSourceProtocol
append, appendBatch
 

Field Detail

PROTOCOL

static final org.apache.avro.Protocol PROTOCOL
Method Detail

append

void append(AvroFlumeEvent event,
            org.apache.avro.ipc.Callback<Status> callback)
            throws IOException
Throws:
IOException

appendBatch

void appendBatch(List<AvroFlumeEvent> events,
                 org.apache.avro.ipc.Callback<Status> callback)
                 throws IOException
Throws:
IOException


Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.