if (this.localBuffersPools.containsKey(task.getVertexID())) {
throw new IllegalStateException("Vertex " + task.getVertexID() + " has a previous buffer pool owner");
}
for (OutputGate gate : environment.outputGates()) {
// add receiver list hints
for (OutputChannel channel : gate.channels()) {
// register envelope dispatcher with the channel
channel.registerEnvelopeDispatcher(this);