public abstract class AbstractPollTableEntry extends ProtocolEndpoint
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED |
static int |
NONE |
static int |
SUCCSESSFUL |
static int |
WITH_ERRORS |
| Constructor and Description |
|---|
AbstractPollTableEntry() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastPollState() |
long |
getLastPollTime() |
long |
getNextPollTime() |
long |
getPollInterval() |
boolean |
isConcurrentPollingAllowed() |
boolean |
loadConfiguration(org.apache.axis2.description.ParameterInclude params)
Configure the endpoint based on the provided parameters.
|
void |
setConcurrentPollingAllowed(boolean concurrentPollingAllowed) |
void |
setLastPollState(int lastPollState) |
void |
setLastPollTime(long lastPollTime) |
void |
setNextPollTime(long nextPollTime) |
void |
setPollInterval(long pollInterval) |
createMessageContext, getConfigurationContext, getDescription, getEndpointReferences, getListener, getService, getServiceNamepublic static final int SUCCSESSFUL
public static final int WITH_ERRORS
public static final int FAILED
public static final int NONE
public long getNextPollTime()
public void setNextPollTime(long nextPollTime)
public long getLastPollTime()
public void setLastPollTime(long lastPollTime)
public long getPollInterval()
public void setPollInterval(long pollInterval)
public int getLastPollState()
public void setLastPollState(int lastPollState)
public boolean isConcurrentPollingAllowed()
public void setConcurrentPollingAllowed(boolean concurrentPollingAllowed)
public boolean loadConfiguration(org.apache.axis2.description.ParameterInclude params)
throws org.apache.axis2.AxisFault
ProtocolEndpointfalse. An exception should only be thrown if there is an
error or inconsistency in the parameters.loadConfiguration in class ProtocolEndpointparams - The source of the parameters to configure the
endpoint. If the parameters are defined on
a service, this will be an AxisService
instance.true if the parameters contained the required configuration
information and the endpoint has been configured, false if
the no configuration for the endpoint is present in the parametersorg.apache.axis2.AxisFault - if configuration information is present, but there is an
error or inconsistency in the parametersCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.