I need to do load testing on in memory databases.
I want to use JMeter and am under the impression I need to write a class that implements JavaSamplerClient.
Your custom class needs either implement JavaSamplerClient or to extend AbstractSamplerClient.
The absolute minimum is runTest() method implementation.
I'd recommend to look into sources for existing JavaTest and SleepTest Java Request samplers:
Sources are available from JMeter download page
Or there is a couple of guides which have example of simple working Java Requests.
See
After compiling your classes package it to .jar and drop to /lib/ext folder of your JMeter installation. Your class should be available from Java Request drop down.
Hope this helps.