*/
void setState(Bean newState);
+ /**
+ * Allows history collector writers to optimize their invocations of the collector.
+ *
+ * @return <code>true</code> if the this collector is enabled for collection or
+ * <code>false</code> otherwise.
+ * @since 1.50.0, 1.35.3, 1.48.0.1
+ */
+ default boolean isEnabled() {
+ return true;
+ }
+
}