A B C D E F G H I L N O P R S T V W

A

AbstractRpcClient - Class in org.apache.flume.api
 
AbstractRpcClient() - Constructor for class org.apache.flume.api.AbstractRpcClient
 
append(Event) - Method in class org.apache.flume.api.AbstractRpcClient
 
append(Event) - Method in class org.apache.flume.api.FailoverRpcClient
Tries to append an event to the currently connected client.
append(Event) - Method in class org.apache.flume.api.LoadBalancingRpcClient
 
append(Event) - Method in class org.apache.flume.api.NettyAvroRpcClient
 
append(Event) - Method in interface org.apache.flume.api.RpcClient
Send a single Event to the associated Flume source.
append(AvroFlumeEvent) - Method in interface org.apache.flume.source.avro.AvroSourceProtocol
 
append(AvroFlumeEvent, Callback<Status>) - Method in interface org.apache.flume.source.avro.AvroSourceProtocol.Callback
 
appendBatch(List<Event>) - Method in class org.apache.flume.api.AbstractRpcClient
 
appendBatch(List<Event>) - Method in class org.apache.flume.api.FailoverRpcClient
Tries to append a list of events to the currently connected client.
appendBatch(List<Event>) - Method in class org.apache.flume.api.LoadBalancingRpcClient
 
appendBatch(List<Event>) - Method in class org.apache.flume.api.NettyAvroRpcClient
 
appendBatch(List<Event>) - Method in interface org.apache.flume.api.RpcClient
Send a list of events to the associated Flume source.
appendBatch(List<AvroFlumeEvent>) - Method in interface org.apache.flume.source.avro.AvroSourceProtocol
 
appendBatch(List<AvroFlumeEvent>, Callback<Status>) - Method in interface org.apache.flume.source.avro.AvroSourceProtocol.Callback
 
AvroFlumeEvent - Class in org.apache.flume.source.avro
 
AvroFlumeEvent() - Constructor for class org.apache.flume.source.avro.AvroFlumeEvent
 
AvroFlumeEvent.Builder - Class in org.apache.flume.source.avro
RecordBuilder for AvroFlumeEvent instances.
AvroSourceProtocol - Interface in org.apache.flume.source.avro
 
AvroSourceProtocol.Callback - Interface in org.apache.flume.source.avro
 

B

batchSize - Variable in class org.apache.flume.api.AbstractRpcClient
 
body - Variable in class org.apache.flume.source.avro.AvroFlumeEvent
Deprecated. 
build() - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
 

C

clearBody() - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Clears the value of the 'body' field
clearHeaders() - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Clears the value of the 'headers' field
close() - Method in class org.apache.flume.api.AbstractRpcClient
 
close() - Method in class org.apache.flume.api.FailoverRpcClient
Close the connection.
close() - Method in class org.apache.flume.api.LoadBalancingRpcClient
 
close() - Method in class org.apache.flume.api.NettyAvroRpcClient
 
close() - Method in interface org.apache.flume.api.RpcClient
Immediately closes the client so that it may no longer be used.
CONFIG_BATCH_SIZE - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Configuration key used to specify the batch size.
CONFIG_CLIENT_TYPE - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Configuration key to specify the RpcClient type to be used.
CONFIG_CONNECT_TIMEOUT - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Configuration key to specify connection timeout in milliseconds.
CONFIG_HOST_SELECTOR - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
The selector type used by the LoadBalancingRpcClient.
CONFIG_HOSTS - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Hosts configuration key to specify a space delimited list of named hosts.
CONFIG_HOSTS_PREFIX - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Hosts prefix to specify address of a particular named host.
CONFIG_MAX_ATTEMPTS - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Maximum attempts to be made by the FailoverRpcClient in case of failures.
CONFIG_REQUEST_TIMEOUT - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Configuration key to specify request timeout in milliseconds.
configure(Properties) - Method in class org.apache.flume.api.AbstractRpcClient
Configure the client using the given properties object.
configure(Properties) - Method in class org.apache.flume.api.FailoverRpcClient
 
configure(Properties) - Method in class org.apache.flume.api.LoadBalancingRpcClient
 
configure(Properties) - Method in class org.apache.flume.api.NettyAvroRpcClient
Configure the actual client using the properties.
connectTimeout - Variable in class org.apache.flume.api.AbstractRpcClient
 
createHostIterator() - Method in interface org.apache.flume.api.LoadBalancingRpcClient.HostSelector
 

D

DEFAULT_BATCH_SIZE - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Default batch size.
DEFAULT_CLIENT_TYPE - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
The default client type to be created if no explicit type is specified.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Default connection, handshake, and initial request timeout in milliseconds.
DEFAULT_REQUEST_TIMEOUT_MILLIS - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
Default request timeout in milliseconds.

E

Event - Interface in org.apache.flume
Basic representation of a data object in Flume.
EventBuilder - Class in org.apache.flume.event
 
EventBuilder() - Constructor for class org.apache.flume.event.EventBuilder
 
EventDeliveryException - Exception in org.apache.flume
An event delivery exception is raised whenever an Event fails to reach at least one of its intended (next-hop) destinations.
EventDeliveryException() - Constructor for exception org.apache.flume.EventDeliveryException
 
EventDeliveryException(String) - Constructor for exception org.apache.flume.EventDeliveryException
 
EventDeliveryException(String, Throwable) - Constructor for exception org.apache.flume.EventDeliveryException
 
EventDeliveryException(Throwable) - Constructor for exception org.apache.flume.EventDeliveryException
 

F

FailoverRpcClient - Class in org.apache.flume.api
Avro/Netty implementation of RpcClient which supports failover.
FailoverRpcClient() - Constructor for class org.apache.flume.api.FailoverRpcClient
 
FlumeException - Exception in org.apache.flume
Base class of all flume exceptions.
FlumeException(String) - Constructor for exception org.apache.flume.FlumeException
 
FlumeException(String, Throwable) - Constructor for exception org.apache.flume.FlumeException
 
FlumeException(Throwable) - Constructor for exception org.apache.flume.FlumeException
 

G

get(int) - Method in class org.apache.flume.source.avro.AvroFlumeEvent
 
getBatchSize() - Method in class org.apache.flume.api.AbstractRpcClient
 
getBatchSize() - Method in interface org.apache.flume.api.RpcClient
Returns the maximum number of events that may be batched at once by appendBatch().
getBody() - Method in interface org.apache.flume.Event
Returns the raw byte array of the data contained in this event.
getBody() - Method in class org.apache.flume.event.SimpleEvent
 
getBody() - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Gets the value of the 'body' field
getBody() - Method in class org.apache.flume.source.avro.AvroFlumeEvent
Gets the value of the 'body' field.
getClientClassName() - Method in enum org.apache.flume.api.RpcClientFactory.ClientType
 
getDefaultInstance(String, Integer) - Static method in class org.apache.flume.api.RpcClientFactory
Returns an instance of RpcClient connected to the specified hostname and port.
getDefaultInstance(String, Integer, Integer) - Static method in class org.apache.flume.api.RpcClientFactory
Returns an instance of RpcClient connected to the specified hostname and port with the specified batchSize.
getHeaders() - Method in interface org.apache.flume.Event
Returns a map of name-value pairs describing the data stored in the body.
getHeaders() - Method in class org.apache.flume.event.SimpleEvent
 
getHeaders() - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Gets the value of the 'headers' field
getHeaders() - Method in class org.apache.flume.source.avro.AvroFlumeEvent
Gets the value of the 'headers' field.
getHostName() - Method in class org.apache.flume.api.HostInfo
 
getInstance(Properties) - Static method in class org.apache.flume.api.RpcClientFactory
Returns an instance of RpcClient, optionally with failover.
getInstance(File) - Static method in class org.apache.flume.api.RpcClientFactory
Delegates to RpcClientFactory.getInstance(Properties props), given a File path to a Properties file.
getInstance(String, Integer) - Static method in class org.apache.flume.api.RpcClientFactory
Deprecated.  
getInstance(String, Integer, Integer) - Static method in class org.apache.flume.api.RpcClientFactory
Deprecated.  
getLastConnectedServerAddress() - Method in class org.apache.flume.api.FailoverRpcClient
Get the last socket address this client connected to.
getMaxTries() - Method in class org.apache.flume.api.FailoverRpcClient
Get the maximum number of "failed" hosts the client will try to establish connection to before throwing an exception.
getPortNumber() - Method in class org.apache.flume.api.HostInfo
 
getReferenceName() - Method in class org.apache.flume.api.HostInfo
 
getSchema() - Method in class org.apache.flume.source.avro.AvroFlumeEvent
 

H

hasBody() - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Checks whether the 'body' field has been set
hasHeaders() - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Checks whether the 'headers' field has been set
hasNext() - Method in class org.apache.flume.util.SpecificOrderIterator
 
headers - Variable in class org.apache.flume.source.avro.AvroFlumeEvent
Deprecated. 
HOST_SELECTOR_RANDOM - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
 
HOST_SELECTOR_ROUND_ROBIN - Static variable in class org.apache.flume.api.RpcClientConfigurationConstants
 
HostInfo - Class in org.apache.flume.api
A convenience class that holds the property reference name along with the hostname and port number of a specified host address.
HostInfo(String, String, int) - Constructor for class org.apache.flume.api.HostInfo
 

I

isActive() - Method in class org.apache.flume.api.AbstractRpcClient
 
isActive() - Method in class org.apache.flume.api.FailoverRpcClient
 
isActive() - Method in class org.apache.flume.api.LoadBalancingRpcClient
 
isActive() - Method in class org.apache.flume.api.NettyAvroRpcClient
 
isActive() - Method in interface org.apache.flume.api.RpcClient
Returns true if this object appears to be in a usable state, and it returns false if this object is permanently disabled.

L

LoadBalancingRpcClient - Class in org.apache.flume.api
An implementation of RpcClient interface that uses NettyAvroRpcClient instances to load-balance the requests over many different hosts.
LoadBalancingRpcClient() - Constructor for class org.apache.flume.api.LoadBalancingRpcClient
 
LoadBalancingRpcClient.HostSelector - Interface in org.apache.flume.api
 

N

NettyAvroRpcClient - Class in org.apache.flume.api
Avro/Netty implementation of RpcClient.
NettyAvroRpcClient() - Constructor for class org.apache.flume.api.NettyAvroRpcClient
This constructor is intended to be called from RpcClientFactory.
newBuilder() - Static method in class org.apache.flume.source.avro.AvroFlumeEvent
Creates a new AvroFlumeEvent RecordBuilder
newBuilder(AvroFlumeEvent.Builder) - Static method in class org.apache.flume.source.avro.AvroFlumeEvent
Creates a new AvroFlumeEvent RecordBuilder by copying an existing Builder
newBuilder(AvroFlumeEvent) - Static method in class org.apache.flume.source.avro.AvroFlumeEvent
Creates a new AvroFlumeEvent RecordBuilder by copying an existing AvroFlumeEvent instance
next() - Method in class org.apache.flume.util.SpecificOrderIterator
 

O

org.apache.flume - package org.apache.flume
 
org.apache.flume.api - package org.apache.flume.api
 
org.apache.flume.event - package org.apache.flume.event
 
org.apache.flume.source.avro - package org.apache.flume.source.avro
 
org.apache.flume.util - package org.apache.flume.util
 

P

PROTOCOL - Static variable in interface org.apache.flume.source.avro.AvroSourceProtocol.Callback
 
PROTOCOL - Static variable in interface org.apache.flume.source.avro.AvroSourceProtocol
 
put(int, Object) - Method in class org.apache.flume.source.avro.AvroFlumeEvent
 

R

remove() - Method in class org.apache.flume.util.SpecificOrderIterator
 
requestTimeout - Variable in class org.apache.flume.api.AbstractRpcClient
 
RpcClient - Interface in org.apache.flume.api
Public client interface for sending data to Flume.
RpcClientConfigurationConstants - Class in org.apache.flume.api
Configuration constants used by the RpcClient.
RpcClientFactory - Class in org.apache.flume.api
Factory class to construct Flume RPCClient implementations.
RpcClientFactory() - Constructor for class org.apache.flume.api.RpcClientFactory
 
RpcClientFactory.ClientType - Enum in org.apache.flume.api
 

S

SCHEMA$ - Static variable in class org.apache.flume.source.avro.AvroFlumeEvent
 
SCHEMA$ - Static variable in enum org.apache.flume.source.avro.Status
 
setBody(byte[]) - Method in interface org.apache.flume.Event
Sets the raw byte array of the data contained in this event.
setBody(byte[]) - Method in class org.apache.flume.event.SimpleEvent
 
setBody(ByteBuffer) - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Sets the value of the 'body' field
setBody(ByteBuffer) - Method in class org.apache.flume.source.avro.AvroFlumeEvent
Sets the value of the 'body' field.
setHeaders(Map<String, String>) - Method in interface org.apache.flume.Event
Set the event headers
setHeaders(Map<String, String>) - Method in class org.apache.flume.event.SimpleEvent
 
setHeaders(Map<CharSequence, CharSequence>) - Method in class org.apache.flume.source.avro.AvroFlumeEvent.Builder
Sets the value of the 'headers' field
setHeaders(Map<CharSequence, CharSequence>) - Method in class org.apache.flume.source.avro.AvroFlumeEvent
Sets the value of the 'headers' field.
setHosts(List<HostInfo>) - Method in interface org.apache.flume.api.LoadBalancingRpcClient.HostSelector
 
SimpleEvent - Class in org.apache.flume.event
 
SimpleEvent() - Constructor for class org.apache.flume.event.SimpleEvent
 
SpecificOrderIterator<T> - Class in org.apache.flume.util
A utility class that iterates over the given ordered list of items via the specified order array.
SpecificOrderIterator(int[], List<T>) - Constructor for class org.apache.flume.util.SpecificOrderIterator
 
Status - Enum in org.apache.flume.source.avro
 

T

toString() - Method in class org.apache.flume.api.HostInfo
 
toString() - Method in class org.apache.flume.api.NettyAvroRpcClient
 
toString() - Method in class org.apache.flume.event.SimpleEvent
 

V

valueOf(String) - Static method in enum org.apache.flume.api.RpcClientFactory.ClientType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.flume.source.avro.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.flume.api.RpcClientFactory.ClientType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.flume.source.avro.Status
Returns an array containing the constants of this enum type, in the order they are declared.

W

withBody(byte[], Map<String, String>) - Static method in class org.apache.flume.event.EventBuilder
Instantiate an Event instance based on the provided body and headers.
withBody(byte[]) - Static method in class org.apache.flume.event.EventBuilder
 
withBody(String, Charset, Map<String, String>) - Static method in class org.apache.flume.event.EventBuilder
 
withBody(String, Charset) - Static method in class org.apache.flume.event.EventBuilder
 

A B C D E F G H I L N O P R S T V W

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