public void Deserialize(Common.Serialization.IO.CompactReader reader) { _id = reader.ReadInt64(); NumberOfSlices = reader.ReadInt64(); Database = reader.ReadString(); DatabaseCluster = reader.ReadString(); _crc = reader.ReadInt64(); Version = reader.ReadString(); _creationDate = reader.ReadDateTime(); SegmentMap = Common.Util.SerializationUtility.DeserializeDictionary <long, long>(reader); _recoveryType = (RecoveryJobType)reader.ReadInt32(); _fullBackupDate = reader.ReadDateTime(); _state = (RecoveryFileState)reader.ReadInt32(); }
public void Deserialize(Common.Serialization.IO.CompactReader reader) { _database = reader.ReadString(); _shard = reader.ReadString(); _lastOperationID = reader.ReadObject() as OperationId; _lastFullBackupDate = reader.ReadDateTime(); }
public void Deserialize(Common.Serialization.IO.CompactReader reader) { LastHeartbeatTimestamp = reader.ReadDateTime(); CurrentMembership = reader.ReadObject() as Membership; MissingHeartbeatsCounter = reader.ReadInt32(); LastOplogOperationId = reader.ReadObject() as OperationId; CSStatus = (ConnectivityStatus)reader.ReadInt32(); }
public void Deserialize(Common.Serialization.IO.CompactReader reader) { Id = reader.ReadInt64(); UID = reader.ReadObject() as string; RequestingNode = reader.ReadObject() as ServerNode; ElectionTime = reader.ReadDateTime(); AllowedDuration = (TimeSpan)reader.ReadObject(); TimeTaken = (TimeSpan)reader.ReadObject(); }