1 /* 2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 3 * The software in this package is published under the terms of the CPAL v1.0 4 * license, a copy of which has been included with this distribution in the 5 * LICENSE.txt file. 6 */ 7 package org.mule.management.stats; 8 9 import org.mule.api.lifecycle.Startable; 10 import org.mule.api.lifecycle.Stoppable; 11 12 /** 13 * Watches {@link ProcessingTime} instances to detect when they are weakly 14 * reachable. 15 */ 16 public interface ProcessingTimeWatcher extends Startable, Stoppable 17 { 18 19 /** 20 * Adds a new instance to watch 21 * 22 * @param processingTime instance to add. Non null 23 */ 24 void addProcessingTime(ProcessingTime processingTime); 25 26 }