Package org.tkit.onecx.quarkus.parameter
Class ParametersBucketHolder
java.lang.Object
org.tkit.onecx.quarkus.parameter.ParametersBucketHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameterRequest(String name, Class<?> clazz, Object defaultValue, Object currentValue) Add a new request to the bucket, this will increase the count of requests for the parameter.voidend()voidsetInstanceId(String instanceId)
-
Constructor Details
-
ParametersBucketHolder
public ParametersBucketHolder()
-
-
Method Details
-
addParameterRequest
public void addParameterRequest(String name, Class<?> clazz, Object defaultValue, Object currentValue) Add a new request to the bucket, this will increase the count of requests for the parameter.- Parameters:
name- the name of the parameter requestedclazz- the class/type of the parameter requesteddefaultValue- the default value of the parameter requested
-
setInstanceId
-
end
public void end() -
getBucket
-