}
}
private void forwardAckToOtherReplicas(long uso) {
Pair<Mailbox, ImmutableList<Long>> p = m_ackMailboxRefs.get();
Mailbox mbx = p.getFirst();
if (mbx != null) {
// partition:int(4) + length:int(4) +
// signaturesBytes.length + ackUSO:long(8)
final int msgLen = 4 + 4 + m_signatureBytes.length + 8;
ByteBuffer buf = ByteBuffer.allocate(msgLen);
buf.putInt(m_partitionId);
buf.putInt(m_signatureBytes.length);
buf.put(m_signatureBytes);
buf.putLong(uso);
BinaryPayloadMessage bpm = new BinaryPayloadMessage(new byte[0], buf.array());
for( Long siteId: p.getSecond()) {
mbx.send(siteId, bpm);
}
}
}