This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ndobryukha.tests.infinispan.benchmark; | |
import com.ndobryukha.tests.infinispan.entity.Book; | |
import com.ndobryukha.tests.infinispan.marshaller.BookMarshaller; | |
import com.ndobryukha.tests.infinispan.marshaller.UserMarshaller; | |
import org.infinispan.client.hotrod.RemoteCache; | |
import org.infinispan.client.hotrod.RemoteCacheManager; | |
import org.infinispan.client.hotrod.Search; | |
import org.infinispan.client.hotrod.configuration.ConfigurationBuilder; | |
import org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ndobryukha.tests.infinispan.entity; | |
/** | |
* Created by Nikita_Dobriukha on 2016-03-17. | |
*/ | |
public class Book { | |
String title; | |
String description; | |
int publishYear; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ndobryukha.tests.infinispan; | |
import org.infinispan.client.hotrod.RemoteCache; | |
import org.infinispan.client.hotrod.RemoteCacheManager; | |
import org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller; | |
import org.infinispan.commons.equivalence.ByteArrayEquivalence; | |
import org.infinispan.configuration.cache.Configuration; | |
import org.infinispan.configuration.cache.ConfigurationBuilder; | |
import org.infinispan.configuration.cache.Index; | |
import org.infinispan.configuration.global.GlobalConfiguration; |