All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.it.hazelcast.client.PortableWrapperFactory Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
package io.quarkus.it.hazelcast.client;

import com.hazelcast.nio.serialization.Portable;
import com.hazelcast.nio.serialization.PortableFactory;

class PortableWrapperFactory implements PortableFactory {

    static final int FACTORY_ID = 1;

    @Override
    public Portable create(int classId) {
        if (PortableWrapper.CLASS_ID == classId) {
            return new PortableWrapper();
        } else {
            return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy