cluster tuning

This commit is contained in:
Peter Lawrey
2016-01-01 09:04:31 +00:00
parent 77e24b9b1c
commit e0cb22f22b
10 changed files with 117 additions and 111 deletions
@@ -446,7 +446,7 @@ abstract class AbstractChannelReplicator implements Closeable {
EntryCallback(@NotNull final Replica.EntryExternalizable externalizable,
final int tcpBufferSize) {
this.externalizable = externalizable;
out = ByteBuffer.allocateDirect(tcpBufferSize);
out = ByteBuffer.allocateDirect(tcpBufferSize).order(ByteOrder.nativeOrder());
in = new ByteBufferBytes(out);
}