com.hazelcast.client.impl.protocol.template
public interface SemaphoreCodecTemplate
Modifier and Type | Method and Description |
---|---|
void |
acquire(String name,
int permits) |
void |
availablePermits(String name) |
void |
drainPermits(String name) |
void |
init(String name,
int permits) |
void |
reducePermits(String name,
int reduction) |
void |
release(String name,
int permits) |
void |
tryAcquire(String name,
int permits,
long timeout) |
void init(String name, int permits)
void acquire(String name, int permits)
void availablePermits(String name)
void drainPermits(String name)
void reducePermits(String name, int reduction)
void release(String name, int permits)
void tryAcquire(String name, int permits, long timeout)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.