com.bagri.server.hazelcast.impl.HealthCheckFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bagri-server-hazelcast Show documentation
Show all versions of bagri-server-hazelcast Show documentation
Bagri DB Cache: Hazelcast implementation
The newest version!
package com.bagri.server.hazelcast.impl;
import java.util.Collection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hazelcast.core.Member;
import com.hazelcast.quorum.QuorumFunction;
public class HealthCheckFunction implements QuorumFunction {
private static final Logger logger = LoggerFactory.getLogger(HealthCheckFunction.class);
@Override
public boolean apply(Collection members) {
logger.info("apply; members: {}", members);
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy