本文整理了Java中com.hazelcast.core.MultiMap.unlock()
方法的一些代码示例,展示了MultiMap.unlock()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MultiMap.unlock()
方法的具体详情如下:
包路径:com.hazelcast.core.MultiMap
类名称:MultiMap
方法名:unlock
[英]Releases the lock for the specified key.
It never blocks and returns immediately.
Warning: This method uses hashCode and equals of the binary form of the key, not the actual implementations of hashCode and equals defined in the key's class.
[中]释放指定钥匙的锁。
它从不阻塞并立即返回。
警告:此方法使用密钥二进制形式的hashCode和equals,而不是密钥类中定义的hashCode和equals的实际实现。
代码示例来源:origin: dCache/nfs4j
@Override
public void unlock() {
locks.unlock(key);
}
代码示例来源:origin: hazelcast/hazelcast-jet
protected void handleMultiMapUnlock(String[] args) {
getMultiMap().unlock(args[1]);
println("true");
}
代码示例来源:origin: hazelcast/hazelcast-jet
protected void handleMultiMapUnlock(String[] args) {
getMultiMap().unlock(args[1]);
println("true");
}
代码示例来源:origin: com.hazelcast/hazelcast-all
protected void handleMultiMapUnlock(String[] args) {
getMultiMap().unlock(args[1]);
println("true");
}
代码示例来源:origin: com.hazelcast/hazelcast-all
protected void handleMultiMapUnlock(String[] args) {
getMultiMap().unlock(args[1]);
println("true");
}
代码示例来源:origin: com.thinkaurelius.titan/titan-hazelcast
cache.unlock(rawKey);
代码示例来源:origin: com.thinkaurelius.titan/titan-hazelcast
columns = Lists.newArrayList(cache.get(rawKey));
} finally {
cache.unlock(rawKey);
内容来源于网络,如有侵权,请联系作者删除!