io.sarl.sre.janus.services.probing.probes
Class ReferenceFieldProbe<T>
Type Parameters:
T - the type of the referenced object
All Superinterfaces:
Probe<T>
class ReferenceFieldProbe<T>
extends AbstractFieldProbe<T>
Probe implementation is linked to an object reference field, or a field that could be assimilated to an object reference primitive. A probe is thread-safe. This probe make a buffer of the values. In order to be updated, the sync() function must be invoked. Then, the new value is read from the associated field, and the probe listeners are notified.
Parameters:
<T> - the type of the referenced object
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.12
Property Summary
Action Summary
Modifier and type Action and description
protected boolean areEqualValues(T,T)
protected java.lang.Object prepareFieldWriting(T,Class<T>,Object)
protected T toT(Object,Class<T>)
Action Details
areEqualValues(T,T)
protected def areEqualValues(T,T) : boolean
prepareFieldWriting(T,Class<T>,Object)
protected def prepareFieldWriting(T,Class<T>,Object) : java.lang.Object
toT(Object,Class<T>)
protected def toT(Object,Class<T>) : T