/** * @param deserializer * The deserializer to use */ public AbstractThreadBasedEvent(final IValueDeserializer deserializer) { super(deserializer); this.threadId = deserializer.getLong(); this.orderIndex = deserializer.getInt(); this.operationSignature = deserializer.getString(); this.classSignature = deserializer.getString(); }
final Integer id = deserializer.getInt(); final LookupEntity recordProperty = this.lookupEntityMap.get(id); if (recordProperty != null) { final Class<?> parameterType = recordProperty.getParameterTypes()[i]; if (boolean.class.equals(parameterType)) { values[i] = deserializer.getBoolean(); } else if (parameterType.equals(Boolean.class)) { values[i] = deserializer.getBoolean(); } else if (byte.class.equals(parameterType)) { values[i] = deserializer.getByte(); } else if (Byte.class.equals(parameterType)) { values[i] = deserializer.getByte(); } else if (short.class.equals(parameterType)) { // NOPMD values[i] = deserializer.getShort(); } else if (Short.class.equals(parameterType)) { values[i] = deserializer.getShort(); } else if (int.class.equals(parameterType)) { values[i] = deserializer.getInt(); } else if (Integer.class.equals(parameterType)) { values[i] = deserializer.getInt(); } else if (long.class.equals(parameterType)) { values[i] = deserializer.getLong(); } else if (Long.class.equals(parameterType)) { values[i] = deserializer.getLong(); } else if (float.class.equals(parameterType)) { values[i] = deserializer.getFloat(); } else if (Float.class.equals(parameterType)) { values[i] = deserializer.getFloat();
/** * @param deserializer * The deserializer to use */ public KiekerMetadataRecord(final IValueDeserializer deserializer) { this.version = deserializer.getString(); this.controllerName = deserializer.getString(); this.hostname = deserializer.getString(); this.experimentId = deserializer.getInt(); this.debugMode = deserializer.getBoolean(); this.timeOffset = deserializer.getLong(); this.timeUnit = deserializer.getString(); this.numberOfRecords = deserializer.getLong(); }
/** * @param deserializer * The deserializer to use */ public BeforeOperationObjectInterfaceEvent(final IValueDeserializer deserializer) { super(deserializer); this._interface = deserializer.getString(); }
/** * @param deserializer * The deserializer to use */ public UptimeRecord(final IValueDeserializer deserializer) { super(deserializer); this.uptimeMS = deserializer.getLong(); }
/** * @param deserializer * The deserializer to use */ public AbstractMonitorEvent(final IValueDeserializer deserializer) { super(deserializer); this.lockId = deserializer.getInt(); }
/** * @param deserializer * The deserializer to use * @throws RecordInstantiationException * when the record could not be deserialized */ public ExtendedStorableDetectionResult(final IValueDeserializer deserializer) throws RecordInstantiationException { super(deserializer); this.anomalyThreshold = deserializer.getDouble(); }
final Integer id = deserializer.getInt(); final LookupEntity recordProperty = this.lookupEntityMap.get(id); if (recordProperty != null) { final Class<?> parameterType = recordProperty.getParameterTypes()[i]; if (boolean.class.equals(parameterType)) { values[i] = deserializer.getBoolean(); } else if (parameterType.equals(Boolean.class)) { values[i] = deserializer.getBoolean(); } else if (byte.class.equals(parameterType)) { values[i] = deserializer.getByte(); } else if (Byte.class.equals(parameterType)) { values[i] = deserializer.getByte(); } else if (short.class.equals(parameterType)) { // NOPMD values[i] = deserializer.getShort(); } else if (Short.class.equals(parameterType)) { values[i] = deserializer.getShort(); } else if (int.class.equals(parameterType)) { values[i] = deserializer.getInt(); } else if (Integer.class.equals(parameterType)) { values[i] = deserializer.getInt(); } else if (long.class.equals(parameterType)) { values[i] = deserializer.getLong(); } else if (Long.class.equals(parameterType)) { values[i] = deserializer.getLong(); } else if (float.class.equals(parameterType)) { values[i] = deserializer.getFloat(); } else if (Float.class.equals(parameterType)) { values[i] = deserializer.getFloat();
/** * @param deserializer * The deserializer to use * @throws RecordInstantiationException * when the record could not be deserialized */ public KiekerMetadataRecord(final IValueDeserializer deserializer) throws RecordInstantiationException { this.version = deserializer.getString(); this.controllerName = deserializer.getString(); this.hostname = deserializer.getString(); this.experimentId = deserializer.getInt(); this.debugMode = deserializer.getBoolean(); this.timeOffset = deserializer.getLong(); this.timeUnit = deserializer.getString(); this.numberOfRecords = deserializer.getLong(); }
/** * @param deserializer * The deserializer to use */ public HostApplicationMetaData(final IValueDeserializer deserializer) { this.systemName = deserializer.getString(); this.ipAddress = deserializer.getString(); this.hostname = deserializer.getString(); this.applicationName = deserializer.getString(); }
/** * @param deserializer * The deserializer to use * @throws RecordInstantiationException * when the record could not be deserialized */ public ConstructionEvent(final IValueDeserializer deserializer) throws RecordInstantiationException { super(deserializer); this.classSignature = deserializer.getString(); this.objectId = deserializer.getInt(); }
/** * @param deserializer * The deserializer to use * @throws RecordInstantiationException * when the record could not be deserialized */ public AbstractEvent(final IValueDeserializer deserializer) throws RecordInstantiationException { this.timestamp = deserializer.getLong(); }
/** * @param deserializer * The deserializer to use */ public BeforeOperationObjectEvent(final IValueDeserializer deserializer) { super(deserializer); this.objectId = deserializer.getInt(); }
/** * @param deserializer * The deserializer to use */ public ExtendedStorableDetectionResult(final IValueDeserializer deserializer) { super(deserializer); this.anomalyThreshold = deserializer.getDouble(); }