T - the type of the property valuepublic class Property<T> extends Object
AbstractStatefulBuilder,
AbstractStatelessBuilder| Modifier and Type | Field and Description |
|---|---|
static String |
sticky_session
The name of the sticky session property
Property. |
static String |
timeout
The name of the call timeout
Property. |
| Constructor and Description |
|---|
Property(String name,
T value)
Creates an instance with a name and a value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Returns the name of the property.
|
static Property<Boolean> |
sticky_session(boolean value)
Return the sticky session
Property. |
static Property<Long> |
timeout(long value)
Return the call timeout
Property. |
static Property<Long> |
timeout(long duration,
TimeUnit unit)
Return the call timeout
Property. |
T |
value()
Returns the value of the property.
|
public static final String timeout
Property.public static final String sticky_session
Property.public static Property<Long> timeout(long value)
Property.value - the property valuepublic static Property<Long> timeout(long duration, TimeUnit unit)
Property.duration - the duration of the timeoutunit - the time unit of the timeoutpublic static Property<Boolean> sticky_session(boolean value)
Property.value - the property valuepublic String name()
public T value()
Copyright © 2017. All Rights Reserved.