Bind or renew leased entries in the server(s).
The map keys are Strings for the name of the entry (e.g.
"AgentX"). The value can be either a Record, UID, or a
NameTag that wraps either a Record or UID. Records are
used for new leases and UIDs are used for lease renewals.
The NameTag specifies the agent that's requesting the action.
If a NameTag is not used then the agent is the local
node-agent.
Lease renewal just sends the UID of the most recent
version. If the server's UID for the name matches the
sent UID then the server extends the Lease and tells the
client the new expiration time. If the server doesn't know
the UID then the client will be told that the lease is not
known and it should send the full Record. If a conflicting
UID is in place then the server will either tell the client
that the Lease renewal is denied or act as if the lease is
not known and request the full Record object for further
deconfliction analysis.
It's fine to submit a singleton map, but for efficiency a
client can use this API to batch requests.
|