Package org.jgroups.tests
Class InfinispanStackMerge3Test
- java.lang.Object
-
- org.jgroups.tests.InfinispanStackMerge3Test
-
public class InfinispanStackMerge3Test extends java.lang.ObjectThis test runs number of merge events with a similar stack configuration that current Infinispan and WildFly is using to showcase speed of merges after partitioning.
-
-
Field Summary
Fields Modifier and Type Field Description private static intMEMBERSprivate static intRUNSprivate static java.util.List<java.util.function.Supplier<TP>>TRANSPORTS
-
Constructor Summary
Constructors Constructor Description InfinispanStackMerge3Test()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static JChannelcreateChannel(TP transport, java.lang.String name)static voidmain(java.lang.String[] args)private static voidprintStats(java.util.Map<java.lang.String,java.util.List<java.lang.Long>> results)protected static java.lang.StringprintViews(JChannel... channels)
-
-
-
Field Detail
-
TRANSPORTS
private static final java.util.List<java.util.function.Supplier<TP>> TRANSPORTS
-
RUNS
private static final int RUNS
-
MEMBERS
private static final int MEMBERS
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
printViews
protected static java.lang.String printViews(JChannel... channels)
-
createChannel
protected static JChannel createChannel(TP transport, java.lang.String name) throws java.lang.Exception
- Throws:
java.lang.Exception
-
printStats
private static void printStats(java.util.Map<java.lang.String,java.util.List<java.lang.Long>> results)
-
-