Skip to content

Adds isDistributedLocked() for global semantics + some other tweaks#1

Open
john-morales wants to merge 1 commit intodeftlabs:masterfrom
john-morales:feature/svc-factory-options
Open

Adds isDistributedLocked() for global semantics + some other tweaks#1
john-morales wants to merge 1 commit intodeftlabs:masterfrom
john-morales:feature/svc-factory-options

Conversation

@john-morales
Copy link
Collaborator

  • Adding isDistributedLocked() for global semantics; if lock not held by current process then queries DB for lock status.
  • Can now maintain distinct service instances for different service options.
  • Setting background monitoring threads as daemons so they cannot prevent JVM shutdown.
  • Overriding finalize as safety measure to ensure lock's cleaned up even if lock not explicitly destroyed before leaving scope.

Thanks Deft Labs!

…f not locked by current process. Also can now maintain distinct service instances for different service options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant