Skip to content

amazon-dynamodb-lock-client as singleton #85

@gianluigiruggeri

Description

@gianluigiruggeri

Hi guys,

I would like to use this library in a SpringBoot service.
Is it a good idea to use the client as a singleton?
I mean, I'll instantiate the client in order to have only one background thread (HeartbeatBackgroundThread) that will check locks.
Is this a good way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions