removed unwanted test

This commit is contained in:
Rob Austin
2015-02-04 23:53:17 +00:00
parent 696e6e6bac
commit 26bd3816a7
-53
View File
@@ -1,53 +0,0 @@
package eg;
import net.openhft.chronicle.map.ChronicleMap;
import net.openhft.chronicle.map.ChronicleMapBuilder;
import net.openhft.chronicle.map.ChronicleMapStatelessClientBuilder;
import org.junit.Test;
import java.net.InetSocketAddress;
/**
* @author Rob Austin.
*/
public class RandyTest {
@Test
public void testName() throws Exception {
ChronicleMapStatelessClientBuilder<CharSequence, InstrumentVOInterface> builder =
ChronicleMapBuilder.of(CharSequence.class, InstrumentVOInterface.class, new
InetSocketAddress("localhost", 8090));
//ChronicleMapBuilder builder = ChronicleMapBuilder.of(SmallCharSequence.class, InstrumentVOInterface.class)
builder
.putReturnsNull(true)
.removeReturnsNull(true);
//TODO: not used for stateless client
//.entries(numberOfEntries)
//
// TODO use the stateless client for now
//.replication((byte) 2, tcpTransportAndNetworkConfig)
//
// TODO It looks like the stateLess client skips any event listener processing
//.eventListener(new MapEventListener<SmallCharSequence, InstrumentVOInterface>() {
// @Override
// public void onPut(SmallCharSequence key, InstrumentVOInterface newValue, InstrumentVOInterface replacedValue) {
// //
// //TODO make this a trace operation once fully baked
// if (log.isDebugEnabled()) {
// log.debug("onPut Instrument Key: " + key);
// }
// }
//}
//);
//
// TODO We are using the replicated client
ChronicleMap<CharSequence, InstrumentVOInterface> charSequenceInstrumentVOInterfaceChronicleMap = builder.create();
}
}