Package com.hazelcast.client.helpers

Examples of com.hazelcast.client.helpers.PortableHelpersFactory



    @BeforeClass
    public static void init() {
        Config config = new Config();
        config.getSerializationConfig().addPortableFactory(PortableHelpersFactory.ID, new PortableHelpersFactory());
        server1 = Hazelcast.newHazelcastInstance(config);
        server2 = Hazelcast.newHazelcastInstance(config);

        ClientConfig clientConfig = new ClientConfig();
        clientConfig.getSerializationConfig().addPortableFactory(PortableHelpersFactory.ID, new PortableHelpersFactory());
        client = HazelcastClient.newHazelcastClient(clientConfig);

        interceptor = new SimpleClientInterceptor();
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.client.helpers.PortableHelpersFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.