/** {@inheritDoc} */ @Override public void close() { if (!rmvd) { try { boolean force = sync != null && (sync.isBroken() && !sync.failoverSafe); ctx.kernalContext().dataStructures().removeReentrantLock(name, ctx.group().name(), force); } catch (IgniteCheckedException e) { throw U.convertException(e); } } }
/** {@inheritDoc} */ @Override public boolean isBroken() { try{ initializeReentrantLock(); return sync.isBroken(); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public void close() { if (!rmvd) { try { boolean force = sync != null && (sync.isBroken() && !sync.failoverSafe); ctx.kernalContext().dataStructures().removeReentrantLock(name, ctx.group().name(), force); } catch (IgniteCheckedException e) { throw U.convertException(e); } } }
/** {@inheritDoc} */ @Override public boolean isBroken() { try{ initializeReentrantLock(); return sync.isBroken(); } catch (IgniteCheckedException e) { throw U.convertException(e); } }