com.hazelcast.concurrent.lock
Interface LockService

All Superinterfaces:
SharedService
All Known Implementing Classes:
LockServiceImpl

public interface LockService
extends SharedService


Field Summary
static String SERVICE_NAME
           
 
Method Summary
 void clearLockStore(int partitionId, ObjectNamespace namespace)
           
 LockStore createLockStore(int partitionId, ObjectNamespace namespace)
           
 Collection<LockResource> getAllLocks()
           
 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()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.