com.atlassian.beehive
Class DatabaseClusterLockServiceTest

java.lang.Object
  extended by com.atlassian.beehive.DatabaseClusterLockServiceTest

public class DatabaseClusterLockServiceTest
extends Object


Constructor Summary
DatabaseClusterLockServiceTest()
           
 
Method Summary
 void setUp()
           
 void testCannotStealFreshLock()
           
 void testCannotStealNewLock()
           
 void testCanStealStaleLock()
           
 void testCleanUpOrphanLocks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseClusterLockServiceTest

public DatabaseClusterLockServiceTest()
Method Detail

setUp

public void setUp()

testCleanUpOrphanLocks

public void testCleanUpOrphanLocks()
                            throws Exception
Throws:
Exception

testCannotStealNewLock

public void testCannotStealNewLock()
                            throws Exception
Throws:
Exception

testCannotStealFreshLock

public void testCannotStealFreshLock()
                              throws Exception
Throws:
Exception

testCanStealStaleLock

public void testCanStealStaleLock()
                           throws Exception
Throws:
Exception


Copyright © 2014 Atlassian. All Rights Reserved.