io.sarl.sre.janus.services.probing.probes
Class CharacterFieldProbe
All Superinterfaces:
Probe<T>
class CharacterFieldProbe
extends AbstractFieldProbe<T>
Probe implementation is linked to a primitive character field, or a field that could be assimilated to a character 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.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.12
Property Summary
Constructor Summary
Constructor and description
new(IProbeReleaseListener,String,URI,FieldAccess,Provider<T>)
Constructor.
Action Summary
Modifier and type Action and description
protected boolean areEqualValues(Character,Character)
protected java.lang.Object prepareFieldWriting(Character,Class<T>,Object)
protected java.lang.Character toT(Object,Class<T>)
Constructor Details
new(IProbeReleaseListener,String,URI,FieldAccess,Provider<T>)
new(IProbeReleaseListener,String,URI,FieldAccess,Provider<T>)
Constructor.
Parameters:
manager - the creator of this probe, and its manager.
name - the name of the probe
uri - the UI of the field.
field - the accessor to the probed field.
factories - the provider of factories tool.
Action Details
areEqualValues(Character,Character)
protected def areEqualValues(Character,Character) : boolean
prepareFieldWriting(Character,Class<T>,Object)
protected def prepareFieldWriting(Character,Class<T>,Object) : java.lang.Object
toT(Object,Class<T>)
protected def toT(Object,Class<T>) : java.lang.Character