public void clean() throws Exception
    {
        try
        {
            client.delete().forPath(basePath);
        }
        catch ( KeeperException.BadVersionException ignore )
        {
            // ignore - another thread/process got the lock
        }
        catch ( KeeperException.NotEmptyException ignore )
        {
            // ignore - other threads/processes are waiting
        }
    }
public void clean ( ) throws Exception { try { client . delete ( ) . forPath ( basePath ) ; } catch ( KeeperException . BadVersionException ignore ) { } catch ( KeeperException . NotEmptyException ignore ) { } }
Attempt to delete the lock node so that sequence numbers get reset

@throws Exception errors