final BytesDataLocator<E, ByteBufferBytes> bytesDataLocator = new BytesDataLocator<E, ByteBufferBytes>(
clazz,
capacity,
maxSize,
byteBufferBytes.slice(),
byteBufferBytes.slice());
if (type == Type.REMOTE_PRODUCER) {
final Producer producer = new Producer<E, ByteBufferBytes>(new LocalRingIndex(), bytesDataLocator, bytesDataLocator, new ServerSocketChannelProvider(port), bytesDataLocator, buffer);
ringIndex = producer;