loConfig.setPartition((short) 0);
loConfig.setUri("testuri");
loConfig.setPartitionFunction("constant:1");
//Physical sources config without event buffer
PhysicalSourceConfig config = new PhysicalSourceConfig();
config.setName("testname");
config.setUri("testuri");
config.setSource(0,loConfig);
PhysicalSourcesStaticConfigWithoutEbuffer = config.build();
PhysicalSourcesConfigWithoutEBuffer = config;
//Physical sources config with event buffer
PhysicalSourceConfig config2 = new PhysicalSourceConfig();
config2.setName("testname");
config2.setUri("testuri");
config2.setSource(0,loConfig);
config2.setName("testname");
config2.setUri("testuri");
config2.getDbusEventBuffer().setMaxSize(eventBufferMaxSize);
config2.getDbusEventBuffer().setScnIndexSize(scnIndexSize);
config2.getDbusEventBuffer().setAverageEventSize(eventBufferReadBufferSize);
PhysicalSourcesStaticConfigWithEBuffer = config2.build();
PhysicalSourcesConfigWithEBuffer = config2;
//Global event buffer config
DbusEventBuffer.Config ebufConfig = new DbusEventBuffer.Config();
ebufConfig.setMaxSize(globaleventBufferMaxSize);