Package org.elasticsearch
Class Assertions
org.elasticsearch.Assertions
public final class Assertions
extends
Provides a static final field that can be used to check if assertions are enabled. Since this field might be used elsewhere to check if
assertions are enabled, if you are running with assertions enabled for specific packages or classes, you should enable assertions on this
class too (e.g.,
-ea org.elasticsearch.Assertions -ea org.elasticsearch.cluster.service.MasterService
).-
Field Summary
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
ENABLED
public static final boolean ENABLED
-