org.infinispan.lucenedemo
Class DemoDriver

java.lang.Object
  extended by org.infinispan.lucenedemo.DemoDriver
All Implemented Interfaces:
Runnable

public class DemoDriver
extends Object
implements Runnable

DemoDriver is a console hello-world application to show the Lucene clustering capabilities. This class parses the user input and drives the actions implemented in DemoActions. As always when running JGroups to run a demo cluster of multiple applications running on the same host, set these JVM options: -Djava.net.preferIPv4Stack=true -Djgroups.bind_addr=127.0.0.1

Since:
4.0
Author:
Sanne Grinovero

Constructor Summary
DemoDriver(InfinispanDirectory infinispanDirectory, Cache<?,?> cache)
           
 
Method Summary
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoDriver

public DemoDriver(InfinispanDirectory infinispanDirectory,
                  Cache<?,?> cache)
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

run

public void run()
Specified by:
run in interface Runnable

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.