@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { this.servers = SerializationHelper.readServerLocationList(in); if (this.servers != null && !this.servers.isEmpty()) { this.serversFound = true; } }
public static void writeBucketServerLocationSet(Set<BucketServerLocation66> bucketServerLocations, DataOutput out) throws IOException { writeBucketServerLocations(bucketServerLocations, out); }
@Override public void toData(DataOutput out) throws IOException { SerializationHelper.writeServerLocationList(servers, out); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.excludedServers = SerializationHelper.readServerLocationSet(in); }
@Override public void toData(DataOutput out) throws IOException { super.toData(out); SerializationHelper.writeServerLocationSet(this.excludedServers, out); }
public static void writeServerLocationSet(Set/* <ServerLocation> */ serverLocations, DataOutput out) throws IOException { writeServerLocations(serverLocations, out); }
@Override public void toData(DataOutput out) throws IOException { super.toData(out); SerializationHelper.writeBucketServerLocationSet(bucketServerLocations, out); DataSerializer.writePrimitiveInt(this.bucketId, out); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.bucketServerLocations = SerializationHelper.readBucketServerLocationSet(in); this.bucketId = DataSerializer.readPrimitiveInt(in); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); proxyId = ClientProxyMembershipID.readCanonicalized(in); redundantCopies = DataSerializer.readPrimitiveInt(in); this.excludedServers = SerializationHelper.readServerLocationSet(in); this.findDurable = in.readBoolean(); }
@Override public void toData(DataOutput out) throws IOException { super.toData(out); DataSerializer.writeObject(proxyId, out); DataSerializer.writePrimitiveInt(redundantCopies, out); SerializationHelper.writeServerLocationSet(this.excludedServers, out); out.writeBoolean(this.findDurable); }
public static void writeServerLocationList(List/* <ServerLocation> */ serverLocations, DataOutput out) throws IOException { writeServerLocations(serverLocations, out); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { this.controllers = SerializationHelper.readServerLocationList(in); this.isBalanced = in.readBoolean(); if (this.controllers != null && !this.controllers.isEmpty()) { this.locatorsFound = true; } }
@Override public void toData(DataOutput out) throws IOException { SerializationHelper.writeServerLocationList(this.controllers, out); out.writeBoolean(isBalanced); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { durableQueueFound = DataSerializer.readPrimitiveBoolean(in); servers = SerializationHelper.readServerLocationList(in); if (this.servers != null && !this.servers.isEmpty()) { this.serversFound = true; } }
@Override public void toData(DataOutput out) throws IOException { DataSerializer.writePrimitiveBoolean(durableQueueFound, out); SerializationHelper.writeServerLocationList(servers, out); }