Package org.apache.ignite.services
Class ServiceCallContextBuilder
- java.lang.Object
-
- org.apache.ignite.services.ServiceCallContextBuilder
-
public class ServiceCallContextBuilder extends Object
Service call context builder.
-
-
Constructor Summary
Constructors Constructor Description ServiceCallContextBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceCallContext
build()
ServiceCallContextBuilder
put(String name, byte[] value)
Put binary attribute.ServiceCallContextBuilder
put(String name, String value)
Put string attribute.
-
-
-
Method Detail
-
put
public ServiceCallContextBuilder put(String name, String value)
Put string attribute.- Parameters:
name
- Attribute name.value
- Attribute value.- Returns:
- This for chaining.
-
put
public ServiceCallContextBuilder put(String name, byte[] value)
Put binary attribute.Note: it is recommended to pass a copy of the array if the original can be changed later.
- Parameters:
name
- Attribute name.value
- Attribute value.- Returns:
- This for chaining.
-
build
public ServiceCallContext build()
- Returns:
- Service call context.
-
-