Class MemcacheRestExampleNodeStartup
- java.lang.Object
-
- org.apache.ignite.examples.misc.client.memcache.MemcacheRestExampleNodeStartup
-
public class MemcacheRestExampleNodeStartup extends java.lang.ObjectStarts up an empty node with cache configuration that contains default cache.The difference is that running this class from IDE adds all example classes to classpath but running from command line doesn't.
-
-
Constructor Summary
Constructors Constructor Description MemcacheRestExampleNodeStartup()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IgniteConfigurationconfiguration()Create Ignite configuration with enabled IPC.static voidmain(java.lang.String[] args)Start up an empty node with specified cache configuration.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws IgniteExceptionStart up an empty node with specified cache configuration.- Parameters:
args- Command line arguments, none required.- Throws:
IgniteException- If example execution failed.
-
configuration
public static IgniteConfiguration configuration() throws IgniteException
Create Ignite configuration with enabled IPC.- Returns:
- Ignite configuration.
- Throws:
IgniteException- If configuration creation failed.
-
-