className, classpath, constructor, factoryName, id, jar, properties, provider, type| Constructor and Description |
|---|
StatelessContainerBuilder() |
equals, getClassName, getClasspath, getConstructor, getFactoryName, getId, getJar, getProvider, getType, hashCode, setClassName, setClasspath, setConstructor, setFactoryName, setId, setJar, setProvider, setTypepublic StatelessContainerBuilder id(String id)
public StatelessContainerBuilder withAccessTimeout(Duration accessTimeout)
public void setAccessTimeout(Duration accessTimeout)
public Duration getAccessTimeout()
public StatelessContainerBuilder withAccessTimeout(long time, TimeUnit unit)
public void setAccessTimeout(long time,
TimeUnit unit)
public StatelessContainerBuilder withMaxSize(int maxSize)
public void setMaxSize(int maxSize)
public int getMaxSize()
public StatelessContainerBuilder withMinSize(int minSize)
public void setMinSize(int minSize)
public int getMinSize()
public StatelessContainerBuilder withStrictPooling(boolean strictPooling)
public void setStrictPooling(boolean strictPooling)
public boolean getStrictPooling()
public StatelessContainerBuilder withMaxAge(Duration maxAge)
public void setMaxAge(Duration maxAge)
public Duration getMaxAge()
public StatelessContainerBuilder withMaxAge(long time, TimeUnit unit)
public void setMaxAge(long time,
TimeUnit unit)
public StatelessContainerBuilder withReplaceAged(boolean replaceAged)
public void setReplaceAged(boolean replaceAged)
public boolean getReplaceAged()
public StatelessContainerBuilder withReplaceFlushed(boolean replaceFlushed)
public void setReplaceFlushed(boolean replaceFlushed)
public boolean getReplaceFlushed()
public StatelessContainerBuilder withMaxAgeOffset(int maxAgeOffset)
public void setMaxAgeOffset(int maxAgeOffset)
public int getMaxAgeOffset()
public StatelessContainerBuilder withIdleTimeout(Duration idleTimeout)
public void setIdleTimeout(Duration idleTimeout)
public Duration getIdleTimeout()
public StatelessContainerBuilder withIdleTimeout(long time, TimeUnit unit)
public void setIdleTimeout(long time,
TimeUnit unit)
public StatelessContainerBuilder withGarbageCollection(boolean garbageCollection)
public void setGarbageCollection(boolean garbageCollection)
public boolean getGarbageCollection()
public StatelessContainerBuilder withSweepInterval(Duration sweepInterval)
public void setSweepInterval(Duration sweepInterval)
public Duration getSweepInterval()
public StatelessContainerBuilder withSweepInterval(long time, TimeUnit unit)
public void setSweepInterval(long time,
TimeUnit unit)
public StatelessContainerBuilder withCallbackThreads(int callbackThreads)
public void setCallbackThreads(int callbackThreads)
public int getCallbackThreads()
public StatelessContainerBuilder withCloseTimeout(Duration closeTimeout)
public void setCloseTimeout(Duration closeTimeout)
public Duration getCloseTimeout()
public StatelessContainerBuilder withCloseTimeout(long time, TimeUnit unit)
public void setCloseTimeout(long time,
TimeUnit unit)
public Properties getProperties()
AbstractServiceset method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
getProperties in interface ServicegetProperties in class AbstractServiceCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.