@Deprecated public interface GlobalVariable extends Closeable
GlobalDataStructureFactory
that will be provided by the AIE Node to components
that implement GlobalDataStructureFactoryAware
.Modifier and Type | Method and Description |
---|---|
boolean |
compareAndSet(String expectedValue,
String newValue)
Deprecated.
Same semantics as
AtomicReference.compareAndSet(Object, Object) . |
String |
getCurrentValue()
Deprecated.
Returns the current value of the variable or null if not set.
|
void |
listen(VariableListener listener)
Deprecated.
Registers a
VariableListener that will be called when the value of this GlobalVariable is changed. |
void |
set(String value)
Deprecated.
Add or updates the value to the new value specified.
|
void listen(VariableListener listener) throws AttivioException
VariableListener
that will be called when the value of this GlobalVariable is changed. The listener will always be called
with the current value as part of this registration.AttivioException
void set(String value) throws AttivioException
AttivioException
String getCurrentValue() throws AttivioException
AttivioException
boolean compareAndSet(String expectedValue, String newValue) throws AttivioException
AtomicReference.compareAndSet(Object, Object)
.AttivioException
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.