V
- the value type.public class ValueFactoryResult<V>
extends java.lang.Object
ValueFactory
implementation.Constructor and Description |
---|
ValueFactoryResult(V value)
Creates a value factory result with the loaded value.
|
ValueFactoryResult(V value,
CreatePolicy policy)
Creates a value factory result with a value and a custom create policy.
|
ValueFactoryResult(V value,
CreatePolicy policy,
com.scaleout.client.messaging.messages.TagHolder tagHolder)
Creates a value factory result with a value, a custom create policy, and a tag holder for query.
|
Modifier and Type | Method and Description |
---|---|
CreatePolicy |
getCreatePolicy()
Retrieves the creation policy.
|
com.scaleout.client.messaging.messages.TagHolder |
getTagHolder()
Retrieves the tag holder.
|
V |
getValue()
Retrieves the value.
|
public ValueFactoryResult(V value)
value
- the value.public ValueFactoryResult(V value, CreatePolicy policy)
value
- the value.policy
- the policy.public ValueFactoryResult(V value, CreatePolicy policy, com.scaleout.client.messaging.messages.TagHolder tagHolder)
value
- the value.policy
- the policy.tagHolder
- the tag holder.public CreatePolicy getCreatePolicy()
public V getValue()
public com.scaleout.client.messaging.messages.TagHolder getTagHolder()