@Override public boolean unlock() { verifyConversationContextActive(); if (!concurrencyLock.isLocked()) { return true; } if (concurrencyLock.isHeldByCurrentThread()) { concurrencyLock.unlock(); ConversationLogger.LOG.conversationUnlocked(this); } else { ConversationLogger.LOG.illegalConversationUnlockAttempt(this, "not owner"); } return !concurrencyLock.isLocked(); }
@Override public boolean unlock() { verifyConversationContextActive(); if (!concurrencyLock.isLocked()) { return true; } if (concurrencyLock.isHeldByCurrentThread()) { concurrencyLock.unlock(); ConversationLogger.LOG.conversationUnlocked(this); } else { ConversationLogger.LOG.illegalConversationUnlockAttempt(this, "not owner"); } return !concurrencyLock.isLocked(); }
@Override public boolean unlock() { verifyConversationContextActive(); if (!concurrencyLock.isLocked()) { return true; } if (concurrencyLock.isHeldByCurrentThread()) { concurrencyLock.unlock(); ConversationLogger.LOG.conversationUnlocked(this); } else { ConversationLogger.LOG.illegalConversationUnlockAttempt(this, "not owner"); } return !concurrencyLock.isLocked(); }
@Override public boolean unlock() { verifyConversationContextActive(); if (!concurrencyLock.isLocked()) { return true; } if (concurrencyLock.isHeldByCurrentThread()) { concurrencyLock.unlock(); ConversationLogger.LOG.conversationUnlocked(this); } else { ConversationLogger.LOG.illegalConversationUnlockAttempt(this, "not owner"); } return !concurrencyLock.isLocked(); }
@Override public boolean unlock() { verifyConversationContextActive(); if (!concurrencyLock.isLocked()) { return true; } if (concurrencyLock.isHeldByCurrentThread()) { concurrencyLock.unlock(); ConversationLogger.LOG.conversationUnlocked(this); } else { ConversationLogger.LOG.illegalConversationUnlockAttempt(this, "not owner"); } return !concurrencyLock.isLocked(); }
@Override public boolean unlock() { verifyConversationContextActive(); if (!concurrencyLock.isLocked()) { return true; } if (concurrencyLock.isHeldByCurrentThread()) { concurrencyLock.unlock(); ConversationLogger.LOG.conversationUnlocked(this); } else { ConversationLogger.LOG.illegalConversationUnlockAttempt(this, "not owner"); } return !concurrencyLock.isLocked(); }