code: public void setMeasure(Object key, Measure<?> measure) {
  		if (measure instanceof PullMeasure) {
  			setPullMeasure(key, (PullMeasure<?>) measure);
  		}
  		if (measure instanceof PushMeasure) {
  			setPushMeasure(key, (PushMeasure<?>) measure);
  		}
  	}
docs: This method call {@link #setPullMeasure(Object, PullMeasure)} or
  {@link #setPushMeasure(Object, PushMeasure)} depending on the interfaces
  implemented by the {@link Measure} given in argument. If both interfaces
  are implemented, both methods are called, allowing to register all the
  aspects of the {@link Measure} in one call.
  
  @param key
  the key of the {@link Measure}
  @param measure
  the {@link Measure} to register