Examples of release()


Examples of org.openstreetmap.osmosis.core.database.ReleasableStatementContainer.release()

      updateStatement.executeUpdate();
     
    } catch (SQLException e) {
      throw new OsmosisRuntimeException("Unable to invoke the osmosis update stored function.", e);
    } finally {
      statementContainer.release();
    }
   
    // Clear all action records.
    actionDao.truncate();
  }
View Full Code Here

Examples of org.openstreetmap.osmosis.core.lifecycle.ReleasableContainer.release()

      releasableContainer.clear();
     
      return resultIterator;
     
    } finally {
      releasableContainer.release();
    }
  }
}
View Full Code Here

Examples of org.openstreetmap.osmosis.core.util.FileBasedLock.release()

      initializeDirectory();
     
      fileLock.unlock();
     
    } finally {
      fileLock.release();
    }
  }
}
View Full Code Here

Examples of org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfStreamSplitter.release()

      sink.release();

      executorService.shutdownNow();

      if (streamSplitter != null) {
        streamSplitter.release();
      }
    }
  }
}
View Full Code Here

Examples of org.openstreetmap.osmosis.pgsimple.common.DatabaseContext.release()

        dbCtx.executeStatement("VACUUM ANALYZE");
       
        LOG.fine("Complete.");
       
      } finally {
        dbCtx.release();
      }
    }
}
View Full Code Here

Examples of org.openstreetmap.osmosis.pgsnapshot.common.DatabaseContext.release()

        dbCtx.getJdbcTemplate().update("VACUUM ANALYZE");
       
        LOG.fine("Complete.");
       
      } finally {
        dbCtx.release();
      }
    }
}
View Full Code Here

Examples of org.red5.server.api.so.ISharedObject.release()

      ScopeClientWorker cl = (ScopeClientWorker) r;
      log.debug("Worker: {} shared object: {}", cl.getId(), cl.getSharedObject().getAttributes());
    }
    if (!persistent) {
      assertTrue(so.isAcquired());
      so.release();
      assertFalse(so.isAcquired());
    }
    app.stop(appScope);

    //    IScope room1 = ScopeUtils.resolveScope(appScope, "/junit/room1");
View Full Code Here

Examples of org.red5.server.net.rtmp.event.AudioData.release()

              AudioData audioConf = new AudioData(config.asReadOnlyBuffer());
              try {
                log.debug("Setting decoder configuration for recording");
                listener.getFileConsumer().setAudioDecoderConfiguration(audioConf);
              } finally {
                audioConf.release();
              }
            }
          } else {
            log.debug("No decoder configuration available, audioCodec is null.");
          }
View Full Code Here

Examples of org.red5.server.net.rtmp.event.IRTMPEvent.release()

        data.free();
        out.flip();
        data = null;
      }
    }
    message.release();
    return out;
  }

  /**
   * Determine if this message should be dropped for lateness. Live publish data
View Full Code Here

Examples of org.red5.server.net.rtmp.event.Notify.release()

          Notify notifyData = new Notify(mBuffer);
          notifyData.setTimestamp((int)timestamp);
          notifyData.setSourceType(Constants.SOURCE_TYPE_LIVE);
      audioBroadcastStream.dispatchEvent(notifyData);
      notifyData.release();
      sentMetadata = true;
    }   
  }
 
  private void pushAudio(byte[] audio, long timestamp) {   
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.