Package simtools.data.buffer

Examples of simtools.data.buffer.ResizeableBuffer


     *
     * @param i
     *            The position of the datasource to bufferize
     */
    public void bufferize(int i) throws UnsupportedOperation {
        bufferize(i, new ResizeableBuffer());
    }
View Full Code Here


                DataSourceCollectionAnimator dsca = new DataSourceCollectionAnimator(dsc);
                dsca.bufferize(new DelayedBuffer(optionPanel.getBufferSize()));
                dsca.setPeriod(optionPanel.getDynamicRefreshValue());
                DataSourcePool.global.addDataSourceCollection(dsca);
            } else {
                dsc.bufferize(new ResizeableBuffer(resources.getIntValue("maxBufferSize")));
                DataSourcePool.global.addDataSourceCollection(dsc);
            }
        } catch (Exception e) {
            if (JSynoptic.gui == null) {
                _logger.severe(messageWriter.print1args("cannotLoadFile", f.getName()));
View Full Code Here

          dsc = col;
          break;
        }
      }
      if (dsc!=null) {
        pool.bufferize(dsc, new ResizeableBuffer(Builtin.resources.getIntValue("maxBufferSize")));
        return (DataSource)dsc.get(index);
      }
    }
    return ret;
  }
View Full Code Here

TOP

Related Classes of simtools.data.buffer.ResizeableBuffer

Copyright © 2018 www.massapicom. 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.