/** * Create a PointBuilder instance with no default settings. PointBuilder * instances are not thread-safe. * * @return an "empty" point builder instance */ public PointBuilder pointBuilder() { return new PointBuilder(); }
/** * Create a PointBuilder with the default dimension values reflecting those * given when this gauge was declared. * * @return a builder initialized with defaults from this metric instance */ public PointBuilder builder() { return new PointBuilder(defaultPosition); } }
/** * Create a PointBuilder with default dimension values as given when this * counter was declared. * * @return a PointBuilder reflecting the default dimension values of this * counter */ public PointBuilder builder() { return new PointBuilder(defaultPosition); } }