~jstys-z/helioviewer.org/timeline

« back to all changes in this revision

Viewing changes to timeline/Highstock-1.3.10/exporting-server/java/highcharts-export/highcharts-export-convert/src/main/java/com/highcharts/export/pool/ObjectPool.java

  • Committer: Jeff Stys
  • Date: 2014-04-21 12:46:26 UTC
  • Revision ID: jstys@sesda3.com-20140421124626-2332pb2dyjc33jxi
Proof-of-concept version of Data Coverage Timeline using Highchart/Highstock javascript library.  Changes to getDataCoverage API in order to feed the necessary data to the Timeline

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * To change this template, choose Tools | Templates
 
3
 * and open the template in the editor.
 
4
 */
 
5
package com.highcharts.export.pool;
 
6
 
 
7
/**
 
8
 *
 
9
 * @author gert
 
10
 */
 
11
public interface ObjectPool<T> {
 
12
 
 
13
        public void createObject();
 
14
        public void destroyObject(T object);
 
15
        public T borrowObject() throws InterruptedException, PoolException;
 
16
        public void returnObject(T object, boolean validate) throws InterruptedException;
 
17
        public void poolCleaner() throws PoolException, InterruptedException;
 
18
        public void tempDirCleaner();
 
19
}