public static VertexManagerEvent convertVertexManagerEventFromProto( EventProtos.VertexManagerEventProto vmProto) { return VertexManagerEvent.create(vmProto.getTargetVertexName(), vmProto.hasUserPayload() ? vmProto.getUserPayload().asReadOnlyByteBuffer() : null); }
VertexManagerEvent vmEvent = VertexManagerEvent.create( sortingVertex, ByteBuffer.wrap(Ints.toByteArray(parallelism))); List<Event> events = Lists.newArrayListWithCapacity(1);
ShuffleUserPayloads.VertexManagerEventPayloadProto.newBuilder(); vmBuilder.setOutputSize(0); VertexManagerEvent vmEvent = VertexManagerEvent.create( context.getDestinationVertexName(), vmBuilder.build().toByteString().asReadOnlyByteBuffer());
VertexManagerEvent vmEvent = VertexManagerEvent.create( context.getDestinationVertexName(), vmBuilder.build().toByteString().asReadOnlyByteBuffer());