org.usergrid.tools
Class EntityInsertBenchMark

java.lang.Object
  extended by org.usergrid.tools.ToolBase
      extended by org.usergrid.tools.EntityInsertBenchMark

public class EntityInsertBenchMark
extends ToolBase

A utility to insert entities into the em for benchmarking

Author:
tnine

Nested Class Summary
static class EntityInsertBenchMark.IndexEntry
           
 
Field Summary
static me.prettyprint.cassandra.serializers.ByteBufferSerializer be
           
 
Fields inherited from class org.usergrid.tools.ToolBase
cass, embedded, emf, managementService, MAX_ENTITY_FETCH, PATH_REPLACEMENT, properties, smf
 
Constructor Summary
EntityInsertBenchMark()
           
 
Method Summary
 org.apache.commons.cli.Options createOptions()
           
 void runTool(org.apache.commons.cli.CommandLine line)
           
 
Methods inherited from class org.usergrid.tools.ToolBase
getToolName, printCliHelp, setCassandraService, setEntityManagerFactory, setManagementService, setProperties, setServiceManagerFactory, setupCassandra, startEmbedded, startSpring, startTool, teardownEmbedded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

be

public static final me.prettyprint.cassandra.serializers.ByteBufferSerializer be
Constructor Detail

EntityInsertBenchMark

public EntityInsertBenchMark()
Method Detail

createOptions

public org.apache.commons.cli.Options createOptions()
Overrides:
createOptions in class ToolBase

runTool

public void runTool(org.apache.commons.cli.CommandLine line)
             throws Exception
Specified by:
runTool in class ToolBase
Throws:
Exception


Copyright © 2012. All Rights Reserved.