Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static String |
ADAPTOR_NAME |
static int |
BUFFER_SIZE |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
MaxRateSender() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentStatus()
Return the adaptor's state Should not include class name or byte
offset, which are written by caller.
|
String |
getType() |
String |
parseArgs(String d,
String s,
AdaptorManager c)
Parse args, return stream name.
|
void |
run() |
long |
shutdown(AdaptorShutdownPolicy shutdownPolicy)
Signals this adaptor to come to an orderly stop.
|
void |
start(String adaptorID,
String type,
long offset,
ChunkReceiver dest)
Start this adaptor
|
String |
toString() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
public static final int BUFFER_SIZE
public static final String ADAPTOR_NAME
public String getCurrentStatus()
Adaptor
getCurrentStatus
in interface Adaptor
public void start(String adaptorID, String type, long offset, ChunkReceiver dest) throws AdaptorException
Adaptor
start
in interface Adaptor
type
- the application type, who is starting this adaptoroffset
- the stream offset of the first byte sent by this adaptorAdaptorException
public String parseArgs(String d, String s, AdaptorManager c)
Adaptor
public long shutdown(AdaptorShutdownPolicy shutdownPolicy)
Adaptor
Copyright © 2014 Apache Software Foundation. All Rights Reserved.