public class HttpMirrorControl extends AbstractTestElement
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_POOL_SIZE |
static int |
DEFAULT_MAX_QUEUE_SIZE |
static java.lang.String |
DEFAULT_PORT_S |
static java.lang.String |
MAX_POOL_SIZE |
static java.lang.String |
MAX_QUEUE_SIZE |
static java.lang.String |
PORT |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
HttpMirrorControl() |
HttpMirrorControl(int port) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRemove()
Called by Remove to determine if it is safe to remove the element.
|
int |
getDefaultPort() |
java.lang.String |
getMaxPoolSizeAsString() |
java.lang.String |
getMaxQueueSizeAsString() |
int |
getPort() |
java.lang.String |
getPortString() |
boolean |
isServerAlive() |
void |
setMaxPoolSize(java.lang.String maxPoolSize) |
void |
setMaxQueueSize(java.lang.String maxQueueSize) |
void |
setPort(int port) |
void |
setPort(java.lang.String port) |
void |
startHttpMirror() |
void |
stopHttpMirror() |
addPropertiesValues, addProperty, addProperty, addTestElement, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
removed
public static final java.lang.String DEFAULT_PORT_S
public static final java.lang.String PORT
public static final java.lang.String MAX_POOL_SIZE
public static final java.lang.String MAX_QUEUE_SIZE
public static final int DEFAULT_MAX_POOL_SIZE
public static final int DEFAULT_MAX_QUEUE_SIZE
public HttpMirrorControl()
public HttpMirrorControl(int port)
public void setPort(int port)
public void setPort(java.lang.String port)
public int getPort()
public java.lang.String getPortString()
public java.lang.String getMaxPoolSizeAsString()
public void setMaxPoolSize(java.lang.String maxPoolSize)
maxPoolSize
- Max Thread Pool sizepublic java.lang.String getMaxQueueSizeAsString()
public void setMaxQueueSize(java.lang.String maxQueueSize)
maxQueueSize
- Max Queue sizepublic int getDefaultPort()
public void startHttpMirror()
public void stopHttpMirror()
public boolean canRemove()
AbstractTestElement
canRemove
in interface TestElement
canRemove
in class AbstractTestElement
public boolean isServerAlive()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.