IteratorToList.convert( workingMemory.iterateObjects() ).size() );
// modifying sensor
sensor.setTemperature( 80 );
sensorHandle = getFactHandle( sensorHandle, workingMemory );
workingMemory.update( sensorHandle,
sensor );
workingMemory = getSerialisedStatefulSession( workingMemory );
workingMemory.fireAllRules();
// no alarms anymore