APISonar


com.hazelcast.core.ClientType.JAVA

> com > hazelcast > core > ClientType > JAVA
com APIs hazelcast APIs core APIs ClientType APIs JAVA APIs

Example 1
public static ClientExceptionConverter get(ClientType type) {
        if (type == ClientType.JAVA) {
            return JAVA;
        }
        return GENERIC;
    }
Example 2
private void addClientInfo(Node hazelcastNode, PhoneHomeParameterCreator parameterCreator) {
        Map<ClientType, Integer> clusterClientStats = hazelcastNode.clientEngine.getConnectedClientStats();

        parameterCreator.addParam("ccpp", Integer.toString(clusterClientStats.get(ClientType.CPP)));
        parameterCreator.addParam("cdn", Integer.toString(clusterClientStats.get(ClientType.CSHARP)));
        parameterCreator.addParam("cjv", Integer.toString(clusterClientStats.get(ClientType.JAVA)));
        parameterCreator.addParam("cnjs", Integer.toString(clusterClientStats.get(ClientType.NODEJS)));
        parameterCreator.addParam("cpy", Integer.toString(clusterClientStats.get(ClientType.PYTHON)));
    }