public class RemoteCommitProviderValue extends PluginValue
RemoteCommitProvider
. This
plugin allows users to specify whether to transmit the ids of added objects
in the remote commit events distributed.Constructor and Description |
---|
RemoteCommitProviderValue() |
Modifier and Type | Method and Description |
---|---|
void |
configureEventManager(RemoteCommitEventManager mgr)
Configure the remote event manager.
|
RemoteCommitProvider |
getProvider()
The cached provider.
|
boolean |
getTransmitPersistedObjectIds()
Whether to transmit persisted object ids in remote commit events.
|
Object |
instantiate(Class type,
Configuration conf,
boolean fatal)
Override to keep decorators out of transport configuration.
|
RemoteCommitProvider |
instantiateProvider(Configuration conf)
Instantiate the provider.
|
RemoteCommitProvider |
instantiateProvider(Configuration conf,
boolean fatal)
Instantiate the provider.
|
void |
setProperties(String props)
The plugin properties.
|
void |
setProvider(RemoteCommitProvider provider)
The cached provider.
|
void |
setString(String str)
Set this value from the given string.
|
void |
setTransmitPersistedObjectIds(boolean transmit)
The cached decorators.
|
configure, getClassName, getInternalString, getProperties, getString, getValueType, isSingleton, objectChanged, set, setClassName, setInternalString
configure, get, instantiate, newInstance, set, setInternalObject
addEquivalentKey, addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, hashCode, hide, isAliasListComprehensive, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, toString, unalias, unalias, valueChanged
public void setProperties(String props)
PluginValue
setProperties
in class PluginValue
public void setString(String str)
Value
originalString
being null), then the
value is remembered as original. This original value is used
for equality and hashCode computation if this Value is
dynamic
.setString
in class PluginValue
public RemoteCommitProvider getProvider()
public void setProvider(RemoteCommitProvider provider)
public boolean getTransmitPersistedObjectIds()
public void setTransmitPersistedObjectIds(boolean transmit)
public RemoteCommitProvider instantiateProvider(Configuration conf)
public RemoteCommitProvider instantiateProvider(Configuration conf, boolean fatal)
public void configureEventManager(RemoteCommitEventManager mgr)
public Object instantiate(Class type, Configuration conf, boolean fatal)
instantiate
in class PluginValue
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.