Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration SessionBehavior

When a session is invalidated, it is destroyed and can no longer be used. What happens to the associated locks depends on the behavior specified at creation time. Consul supports a release and delete behavior. The release behavior is the default if none is specified.

If the release behavior is being used, any of the locks held in association with the session are released, and the ModifyIndex of the key is incremented. Alternatively, if the delete behavior is used, the key corresponding to any of the held locks is simply deleted. This can be used to create ephemeral entries that are automatically deleted by Consul.

Index

Enumeration members

Enumeration members

DELETE

DELETE:

RELEASE

RELEASE:

Generated using TypeDoc