package org.infinispan.persistence.remote.logging; import static org.jboss.logging.Logger.Level.ERROR; import org.infinispan.commons.CacheConfigurationException; import org.infinispan.commons.CacheException; import org.infinispan.persistence.spi.PersistenceException; import org.jboss.logging.annotations.Cause; import org.jboss.logging.annotations.LogMessage; import org.jboss.logging.annotations.Message; import org.jboss.logging.annotations.MessageLogger; /** * Log abstraction for the remote cache store. For this module, message ids * ranging from 10001 to 11000 inclusively have been reserved. * * @author Galder ZamarreƱo * @since 5.0 */ @MessageLogger(projectCode = "ISPN") public interface Log extends org.infinispan.util.logging.Log { @LogMessage(level = ERROR) @Message(value = "RemoteStore can only run in shared mode! This method shouldn't be called in shared mode", id = 10001) void sharedModeOnlyAllowed(); @Message(value = "Wrapper cannot handle values of class %s", id = 10004) PersistenceException unsupportedValueFormat(String name); @Message(value = "Cannot enable HotRod wrapping if a marshaller and/or an entryWrapper have already been set", id = 10005) CacheConfigurationException cannotEnableHotRodWrapping(); @Message(value = "Cannot load the HotRodEntryWrapper class (make sure the infinispan-server-hotrod classes are available)", id = 10006) CacheConfigurationException cannotLoadHotRodEntryWrapper(@Cause Exception e); @Message(value = "The RemoteCacheStore for cache %s should be configured with hotRodWrapping enabled", id = 10007) CacheException remoteStoreNoHotRodWrapping(String cacheName); }