com.hazelcast.concurrent.lock

## Interface LockService

- All Superinterfaces:
    SharedService
  All Known Implementing Classes:
    LockServiceImpl

      public interface LockService
      extends SharedService

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `SERVICE_NAME`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clearLockStore(int partitionId, ObjectNamespace namespace)`
    `LockStore` | `createLockStore(int partitionId, ObjectNamespace namespace)`
    `Collection<LockResource>` | `getAllLocks()`
    `long` | `getMaxLeaseTimeInMillis()`
    `void` | `registerLockStoreConstructor(String serviceName, ConstructorFunction<ObjectNamespace,LockStoreInfo> constructorFunction)`

- - ### Field Detail

    - #### SERVICE_NAME

          static final String SERVICE_NAME

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### registerLockStoreConstructor

          void registerLockStoreConstructor(String serviceName,
                                            ConstructorFunction<ObjectNamespace,LockStoreInfo> constructorFunction)

    - #### createLockStore

          LockStore createLockStore(int partitionId,
                                    ObjectNamespace namespace)

    - #### clearLockStore

          void clearLockStore(int partitionId,
                              ObjectNamespace namespace)

    - #### getAllLocks

          Collection<LockResource> getAllLocks()

    - #### getMaxLeaseTimeInMillis

          long getMaxLeaseTimeInMillis()

Copyright © 2020. All rights reserved.