org.apache.avro.ipc.trace
Class TracePluginConfiguration

java.lang.Object
  extended by org.apache.avro.ipc.trace.TracePluginConfiguration

public class TracePluginConfiguration
extends Object

Helper class for configuring Avro's TracePlugin. If you are using a common configuration module, wrap this class with your own configuration.


Field Summary
 boolean buffer
           
 int clientPort
           
 int compressionLevel
           
static int DEFAULT_CLIENT_PORT
           
static int DEFAULT_PORT
           
 boolean enabled
           
 int fileGranularitySeconds
           
 long maxSpans
           
 int port
           
 String spanStorageDir
           
 TracePlugin.StorageType storageType
           
 double traceProb
           
 
Constructor Summary
TracePluginConfiguration()
          Return a TracePluginConfiguration with default options.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CLIENT_PORT

public static final int DEFAULT_CLIENT_PORT
See Also:
Constant Field Values

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

traceProb

public double traceProb

port

public int port

clientPort

public int clientPort

storageType

public TracePlugin.StorageType storageType

maxSpans

public long maxSpans

enabled

public boolean enabled

buffer

public boolean buffer

compressionLevel

public int compressionLevel

fileGranularitySeconds

public int fileGranularitySeconds

spanStorageDir

public String spanStorageDir
Constructor Detail

TracePluginConfiguration

public TracePluginConfiguration()
Return a TracePluginConfiguration with default options.



Copyright © 2010 The Apache Software Foundation