Annotation Interface RPCAttributeMapLock
Selects one Attribute-map instance to lock during an RPC invocation.
Use this nested annotation from RPC.lockAttributeMaps(). attribute() is the
registered Attribute-map name, and instance() is the logical key within that map. Neither
value is derived from a Java field name.
@RPC(lockAttributeMaps = {
@RPCAttributeMapLock(attribute = "order-status", instance = "order-123")
})
public RPCResult<String> readStatus(Context context) { ... }
-
Required Element Summary
Required Elements
-
Element Details
-
attribute
-
instance
-