Called immediately after the lease is acquired. Also called immediately if the lease is already owned by this process instance when the listener is registered.
Called immediately before the lease is released.