Examples of release()


Examples of org.geowebcache.locks.LockProvider.Lock.release()

            for (Configuration config : saveConfigurations) {
                config.save();
            }
        } finally {
            if(lock != null) {
                lock.release();
            }
        }
    }

    XMLConfiguration getXmlConfiguration() {
View Full Code Here

Examples of org.glassfish.grizzly.nio.DirectByteBufferRecord.release()

            // Mark connection as closed remotely.
            ((TCPNIOConnection) connection).terminate0(null,
                    new CloseReason(CloseType.REMOTELY, e));
            throw e;
        } finally {
            directByteBufferRecord.release();
        }
    }
   
    private static void fill(final CompositeQueueRecord queueRecord,
            final int totalBufferSize,           
View Full Code Here

Examples of org.glassfish.jersey.process.internal.RequestScope.Instance.release()

        requestScope.runInScope(instance, new Runnable() {

            @Override
            public void run() {
                assertEquals("1", instance.get(inhab));
                instance.release();
                assertEquals("1", instance.get(inhab));
            }
        });
        assertNull(instance.get(inhab));
    }
View Full Code Here

Examples of org.graphstream.ui.graphicGraph.StyleGroupSet.release()

        sgs.getGroupCount());
    Iterator<? extends StyleGroup> i = sgs.getGroupIterator();
    while (i.hasNext())
      System.err.printf("  %s", i.next().toString());

    sgs.release();
  }

  @Test
  public void testZIndex() throws IOException {
    StyleGroupSet sgs = new StyleGroupSet(stylesheet);
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AESemaphore.release()

                        protected void
                        complete()
                        {
                          run_sem.release();
                         
                          pending_checks_sem.release();
                        }
                      });
                   
                    pending_check_num++;
                   
View Full Code Here

Examples of org.hibernate.cache.CacheConcurrencyStrategy.release()

    assertTrue( !ccs.put("foo", "foo", whileLocked, null, null, false) );

    Thread.sleep(15);

    ccs.release("foo", lock);

    assertTrue( ccs.get("foo", after)==null );
    assertTrue( ccs.get("foo", longBefore)==null );

    assertTrue( !ccs.put("foo", "bar", whileLocked, null, null, false) );
View Full Code Here

Examples of org.hibernate.cache.ReadWriteCache.release()

    assertTrue( !ccs.put("foo", "foo", whileLocked, null, null, false) );

    Thread.sleep(15);

    ccs.release("foo", lock);

    assertTrue( ccs.get("foo", after)==null );
    assertTrue( ccs.get("foo", longBefore)==null );

    assertTrue( !ccs.put("foo", "bar", whileLocked, null, null, false) );
View Full Code Here

Examples of org.hsqldb.index.RowIterator.release()

                    if (delete && !isUpdate && !refrow.isCascadeDeleted()) {
                        reftable.deleteNoRefCheck(session, refrow);
                    }
                }
            } finally {
                refiterator.release();
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.hsqldb.navigator.RangeIterator.release()

                it.setCurrent(newData);

                boolean check = updatableTableCheck.testCondition(session);

                if (!check) {
                    it.release();

                    throw Error.error(ErrorCode.X_44000);
                }
            }
View Full Code Here

Examples of org.hsqldb.navigator.RowIterator.release()

            if (restartIdentity && targetTable.identitySequence != null) {
                targetTable.identitySequence.reset();
            }
        } finally {
            it.release();
        }

        return Result.updateOneResult;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.