org.LiveGraph.demoDataSource
Class LiveGraphDemo
java.lang.Object
org.LiveGraph.demoDataSource.LiveGraphDemo
public class LiveGraphDemo
- extends java.lang.Object
This class is used for generating a demo data file for demonstration and
testing purposes.
It creates a data file and fills it with data. This happens in bursts
of 1 to 10 datasets at a time.
Between the bursts the execution is paused for 0
to 1000 milliseconds. This way a data generating simulation
is emulated. The program stops after 100000 datasets have
been written.
This product includes software developed by the
LiveGraph project and its contributors.
(http://www.live-graph.org)
Copyright (c) 2007 G. Paperin.
All rights reserved.
File: LiveGraphDemo.java
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following terms and conditions are met:
1. Redistributions of source code must retain the above
acknowledgement of the LiveGraph project and its web-site, the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above acknowledgement of the
LiveGraph project and its web-site, the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with
the distribution.
3. All advertising materials mentioning features or use of this software or any derived
software must display the following acknowledgement:
This product includes software developed by the LiveGraph project and its
contributors.
(http://www.live-graph.org)
4. All advertising materials distributed in form of HTML pages or any other technology
permitting active hyper-links that mention features or use of this software or any
derived software must display the acknowledgment specified in condition 3 of this
agreement, and in addition, include a visible and working hyper-link to the LiveGraph
homepage (http://www.live-graph.org).
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- Version:
- "1.1.1"
- Author:
- Greg Paperin (http://www.paperin.org)
Method Summary |
void |
exec()
|
static void |
main(java.lang.String[] unusedArgs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEMO_DIR
public static final java.lang.String DEMO_DIR
MIN_SLEEP
public static final int MIN_SLEEP
- See Also:
- Constant Field Values
MAX_SLEEP
public static final int MAX_SLEEP
- See Also:
- Constant Field Values
MIN_BURST
public static final int MIN_BURST
- See Also:
- Constant Field Values
MAX_BURST
public static final int MAX_BURST
- See Also:
- Constant Field Values
MAX_DATASETS
public static final int MAX_DATASETS
- See Also:
- Constant Field Values
LiveGraphDemo
public LiveGraphDemo()
exec
public void exec()
main
public static void main(java.lang.String[] unusedArgs)