Search in sources :

Example 11 with ClientPartitionService

use of com.hazelcast.client.impl.spi.ClientPartitionService in project hazelcast by hazelcast.

the class ClientDurableExecutorServiceProxy method onInitialize.

@Override
protected void onInitialize() {
    ClientPartitionService partitionService = getContext().getPartitionService();
    partitionCount = partitionService.getPartitionCount();
}
Also used : ClientPartitionService(com.hazelcast.client.impl.spi.ClientPartitionService)

Aggregations

ClientPartitionService (com.hazelcast.client.impl.spi.ClientPartitionService)11 Data (com.hazelcast.internal.serialization.Data)5 Nonnull (javax.annotation.Nonnull)4 ClientMapIterator (com.hazelcast.client.map.impl.iterator.ClientMapIterator)3 AbstractMap (java.util.AbstractMap)3 ArrayList (java.util.ArrayList)3 Map (java.util.Map)3 ClientLockReferenceIdGenerator (com.hazelcast.client.impl.clientside.ClientLockReferenceIdGenerator)2 ClientMessage (com.hazelcast.client.impl.protocol.ClientMessage)2 ClientContext (com.hazelcast.client.impl.spi.ClientContext)2 ClientProxy (com.hazelcast.client.impl.spi.ClientProxy)2 EventHandler (com.hazelcast.client.impl.spi.EventHandler)2 ClientInvocation (com.hazelcast.client.impl.spi.impl.ClientInvocation)2 ListenerMessageCodec (com.hazelcast.client.impl.spi.impl.ListenerMessageCodec)2 Member (com.hazelcast.cluster.Member)2 EntryEvent (com.hazelcast.core.EntryEvent)2 EntryEventType (com.hazelcast.core.EntryEventType)2 CollectionUtil (com.hazelcast.internal.util.CollectionUtil)2 Preconditions.checkNotNull (com.hazelcast.internal.util.Preconditions.checkNotNull)2 Preconditions.checkPositive (com.hazelcast.internal.util.Preconditions.checkPositive)2