className, classpath, classpathAPI, constructor, factoryName, id, jar, properties, provider, type
Constructor and Description |
---|
StatefulContainerBuilder() |
Modifier and Type | Method and Description |
---|---|
Duration |
getAccessTimeout() |
int |
getBulkPassivate() |
java.lang.String |
getCache() |
int |
getCapacity() |
int |
getFrequency() |
java.lang.String |
getPassivator() |
java.util.Properties |
getProperties()
Gets the value of the properties property.
|
Duration |
getTimeOut() |
StatefulContainerBuilder |
id(java.lang.String id) |
void |
setAccessTimeout(Duration accessTimeout) |
void |
setAccessTimeout(long time,
java.util.concurrent.TimeUnit unit) |
void |
setBulkPassivate(int bulkPassivate) |
void |
setCache(java.lang.String cache) |
void |
setCapacity(int capacity) |
void |
setFrequency(int frequency) |
void |
setPassivator(java.lang.String passivator) |
void |
setTimeOut(Duration timeOut) |
void |
setTimeOut(long time,
java.util.concurrent.TimeUnit unit) |
StatefulContainerBuilder |
withAccessTimeout(Duration accessTimeout) |
StatefulContainerBuilder |
withAccessTimeout(long time,
java.util.concurrent.TimeUnit unit) |
StatefulContainerBuilder |
withBulkPassivate(int bulkPassivate) |
StatefulContainerBuilder |
withCache(java.lang.String cache) |
StatefulContainerBuilder |
withCapacity(int capacity) |
StatefulContainerBuilder |
withFrequency(int frequency) |
StatefulContainerBuilder |
withPassivator(java.lang.String passivator) |
StatefulContainerBuilder |
withTimeOut(Duration timeOut) |
StatefulContainerBuilder |
withTimeOut(long time,
java.util.concurrent.TimeUnit unit) |
equals, getClassName, getClasspath, getClasspathAPI, getConstructor, getFactoryName, getId, getJar, getPropertiesProvider, getProvider, getTemplate, getType, hashCode, setClassName, setClasspath, setClasspathAPI, setConstructor, setFactoryName, setId, setJar, setPropertiesProvider, setProvider, setTemplate, setType
public StatefulContainerBuilder id(java.lang.String id)
public StatefulContainerBuilder withAccessTimeout(Duration accessTimeout)
public void setAccessTimeout(Duration accessTimeout)
public Duration getAccessTimeout()
public StatefulContainerBuilder withAccessTimeout(long time, java.util.concurrent.TimeUnit unit)
public void setAccessTimeout(long time, java.util.concurrent.TimeUnit unit)
public StatefulContainerBuilder withCache(java.lang.String cache)
public void setCache(java.lang.String cache)
public java.lang.String getCache()
public StatefulContainerBuilder withPassivator(java.lang.String passivator)
public void setPassivator(java.lang.String passivator)
public java.lang.String getPassivator()
public StatefulContainerBuilder withTimeOut(Duration timeOut)
public void setTimeOut(Duration timeOut)
public Duration getTimeOut()
public StatefulContainerBuilder withTimeOut(long time, java.util.concurrent.TimeUnit unit)
public void setTimeOut(long time, java.util.concurrent.TimeUnit unit)
public StatefulContainerBuilder withFrequency(int frequency)
public void setFrequency(int frequency)
public int getFrequency()
public StatefulContainerBuilder withCapacity(int capacity)
public void setCapacity(int capacity)
public int getCapacity()
public StatefulContainerBuilder withBulkPassivate(int bulkPassivate)
public void setBulkPassivate(int bulkPassivate)
public int getBulkPassivate()
public java.util.Properties getProperties()
AbstractService
set
method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
getProperties
in interface Service
getProperties
in class AbstractService