NIFI-443: Removed stopFunnel from ProcessGroup because we don't want to allow it

This commit is contained in:
Mark Payne 2015-03-19 11:40:01 -04:00
parent 8b911c5aab
commit c9eb237895
2 changed files with 1 additions and 8 deletions

View File

@ -192,12 +192,6 @@ public interface ProcessGroup {
*/
void stopOutputPort(Port port);
/**
* Stops the given Funnel
*
* @param processor
*/
void stopFunnel(Funnel funnel);
/**
* Disables the given Processor

View File

@ -1108,8 +1108,7 @@ public final class StandardProcessGroup implements ProcessGroup {
}
}
@Override
public void stopFunnel(final Funnel funnel) {
private void stopFunnel(final Funnel funnel) {
readLock.lock();
try {
if (!funnels.containsKey(funnel.getIdentifier())) {