com.nimbusds.infinispan.persistence.ldap.LDAPWriteStrategyResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-cachestore-ldap Show documentation
Show all versions of infinispan-cachestore-ldap Show documentation
Infinispan module for persisting cache data to an LDAPv3 directory
package com.nimbusds.infinispan.persistence.ldap;
import com.nimbusds.infinispan.persistence.common.InfinispanEntry;
/**
* Interface for resolving the appropriate LDAP write strategy for a given
* Infinispan entry. Implementations must be thread-safe.
*/
public interface LDAPWriteStrategyResolver {
/**
* Resolves the appropriate LDAP write strategy for the specified
* Infinispan entry.
*
* @param infinispanEntry The Infinispan entry. Must not be
* {@code null}.
*
* @return The LDAP write strategy.
*/
LDAPWriteStrategy resolveLDAPWriteStrategy(final InfinispanEntry infinispanEntry);
}