public class MutexAccessTokenDomain extends Object
| Constructor and Description |
|---|
MutexAccessTokenDomain(CacheDatabase cache,
JobQueueDomain jobQueueDomain,
StampSheetConfiguration stampSheetConfiguration,
Gs2RestSession session,
String namespaceName,
AccessToken accessToken,
String propertyId) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createCacheKey(String propertyId) |
static String |
createCacheParentKey(String namespaceName,
String userId,
String propertyId,
String childType) |
String |
getNamespaceName() |
String |
getPropertyId() |
String |
getUserId() |
MutexAccessTokenDomain |
lock(LockRequest request) |
Mutex |
model() |
MutexAccessTokenDomain |
unlock(UnlockRequest request) |
public MutexAccessTokenDomain(CacheDatabase cache, JobQueueDomain jobQueueDomain, StampSheetConfiguration stampSheetConfiguration, Gs2RestSession session, String namespaceName, AccessToken accessToken, String propertyId)
public String getNamespaceName()
public String getUserId()
public String getPropertyId()
public MutexAccessTokenDomain lock(LockRequest request)
public MutexAccessTokenDomain unlock(UnlockRequest request)
public static String createCacheParentKey(String namespaceName, String userId, String propertyId, String childType)
public Mutex model()
Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.