public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(RequestId); writer.WriteObject(Source); writer.WriteObject(Message); writer.Write(NoResponse); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { Common.Util.SerializationUtility.SerializeList(_shards, writer); writer.WriteObject(_name); writer.WriteObject(_nonShardedDistribution); writer.WriteObject(_bucketsStats); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(_database); writer.Write(_shard); writer.WriteObject(_lastOperationID); writer.Write(_lastFullBackupDate); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Address); writer.WriteObject(LastOperationId); writer.Write((int)Status); writer.WriteObject(UID); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); writer.WriteObject(ConfigServers); writer.WriteObject(Shards); writer.Write(UID); }
public override void Serialize(Common.Serialization.IO.CompactWriter writer) { base.Serialize(writer); writer.Write(Database); writer.Write(Collection); writer.WriteObject(OpCode); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(_id); writer.Write(sliceCount); writer.Write(_crc); Common.Util.SerializationUtility.SerializeDictionary <long, long>(SliceMap, writer); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(_parameterList.Count); bool isByteArray = false; for (int i = 0; i < _parameterList.Count; i++) { isByteArray = _parameterList[i] != null && _parameterList[i].GetType() == typeof(byte[]); writer.Write(isByteArray); if (isByteArray) { byte[] buffer = _parameterList[i] as byte[]; writer.Write(buffer.Length); writer.Write(buffer); } else { writer.WriteObject(_parameterList[i]); } } //writer.WriteObject(_parameterList); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { Common.Util.SerializationUtility.SerializeDD <string, string, IDistributionStrategy>(distributionStrategyMap, writer); Common.Util.SerializationUtility.SerializeDictionary <string, DatabaseConfiguration>(database, writer); writer.WriteObject(securityResourcre); Common.Util.SerializationUtility.SerializeList <string>(shardList, writer); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write((int)Type); writer.WriteObject(Configuration); writer.WriteObject(Metadata); writer.WriteObject(Command); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); writer.Write(Port); writer.WriteObject(Servers); writer.WriteObject(UID); }
public override void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(_value); writer.Write((byte)_order); writer.Write((byte)_type); writer.Write((int)_actualType); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); SerializationUtility.SerializeDictionary <string, ShardInfo>(ShardInfo, writer); SerializationUtility.SerializeDictionary <string, DatabaseInfo>(Databases, writer); writer.WriteObject(UID); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(ElectionId); writer.Write((int)PollingResult); Common.Util.SerializationUtility.SerializeList <ServerNode>(Voters, writer); writer.WriteObject(ElectedPrimary); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); writer.WriteObject(Attributes); writer.WriteObject(CachePolicy); writer.Write(JournalEnabled); writer.WriteObject(UID); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(LastHeartbeatTimestamp); writer.WriteObject(CurrentMembership); writer.Write(MissingHeartbeatsCounter); writer.WriteObject(LastOplogOperationId); writer.Write((int)CSStatus); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); writer.WriteObject(DisplayName); writer.WriteObject(Deployment); writer.WriteObject(Databases); writer.WriteObject(UID); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(_id); writer.Write(_chunkId); writer.Write(_isDisposable); writer.WriteObject(_nodeIpAddress); writer.Write(_isSocketServerDispose); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write((byte)Type); writer.Write(DBName); writer.Write(ColName); writer.WriteObject(NodeInfo); writer.Write((byte)DistributionType); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(DatabaseId); writer.WriteObject(DatabasePath); writer.Write(MaxFileSize); writer.WriteObject(LMDBProvider); writer.Write((int)StorageProviderType); writer.Write(IsMultiFileStore); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Storage); writer.WriteObject(Name); writer.WriteObject(UID); writer.Write((int)Mode); writer.Write((int)Type); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(Id); writer.WriteObject(UID); writer.WriteObject(RequestingNode); writer.Write(ElectionTime); writer.WriteObject(AllowedDuration); writer.WriteObject(TimeTaken); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); SerializationUtility.SerializeDictionary <string, CollectionInfo>(Collections, writer); writer.WriteObject(UID); writer.Write((int)Mode); writer.WriteObject(PrimaryShard); writer.Write((int)Type); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(ElectionId); writer.WriteObject(Primary); writer.WriteObject(Shard); writer.WriteObject(Cluster); Common.Util.SerializationUtility.SerializeList <ServerNode>(Servers, writer); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); writer.Write(Port); writer.WriteObject(Servers); writer.Write((int)Status); writer.Write(NodeHeartbeatInterval); writer.WriteObject(UID); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(_rowCount); // writer.Write(_columnCount); foreach (System.Collections.Generic.KeyValuePair <string, RecordColumn> kvp in _dataStringIndex) { writer.WriteObject(kvp.Key); writer.WriteObject(kvp.Value); } }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); writer.WriteObject(_cappedInfo); writer.WriteObject(ParitionKey); writer.WriteObject(Statistics); writer.WriteObject(_distributionStrategy); //writer.WriteObject(DataDistribution); writer.WriteObject(CollectionShard); writer.WriteObject(UID); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(Name); writer.Write(Port); writer.Write(IsReadOnly); writer.WriteObject(Primary); SerializationUtility.SerializeDictionary <Address, ServerInfo>(ConfigureNodes, writer); SerializationUtility.SerializeDictionary <Address, ServerInfo>(RunningNodes, writer); writer.WriteObject(UID); writer.Write(GracefullRemovalInProcess); writer.WriteObject(LastOperationId); }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.WriteObject(_name); writer.Write(_isHidden); writer.Write(Convert.ToInt32(_columnType)); writer.Write(_data.Count); foreach (System.Collections.Generic.KeyValuePair <int, object> de in _data) { writer.Write(de.Key); writer.WriteObject(de.Value); } }
public void Serialize(Common.Serialization.IO.CompactWriter writer) { writer.Write(_id); writer.Write(Database); writer.Write(Collection); writer.Write(DataCount); writer.Write(OverFlow); writer.Write(NextSegmentId); writer.Write(CRC); writer.Write(_mappedData); writer.Write((int)_dataType); writer.Write(_totalSize); }