Interface Log

All Superinterfaces:
org.jboss.logging.BasicLogger

@MessageLogger(projectCode="ISPN") @ValidIdRange(min=4001, max=5000) public interface Log extends org.jboss.logging.BasicLogger
Log abstraction for the hot rod client.
Since:
5.0
Author:
Galder ZamarreƱo
  • Field Details

  • Method Details

    • couldNotFindPropertiesFile

      @LogMessage(level=WARN) @Message(value="Could not find \'%s\' file in classpath, using defaults.", id=4001) void couldNotFindPropertiesFile(String propertiesFile)
    • unstartedRemoteCacheManager

      @LogMessage(level=INFO) @Message(value="Cannot perform operations on a cache associated with an unstarted RemoteCacheManager. Use RemoteCacheManager.start before using the remote cache.", id=4002) void unstartedRemoteCacheManager()
    • invalidMagicNumber

      @Message(value="Invalid magic number. Expected %#x and received %#x", id=4003) InvalidResponseException invalidMagicNumber(short expectedMagicNumber, short receivedMagic)
    • errorFromServer

      @LogMessage(level=WARN) @Message(value="Error received from the server: %s", id=4005) void errorFromServer(String message)
    • newTopology

      @LogMessage(level=INFO) @Message(value="Server sent new topology view (id=%d, age=%d) containing %d addresses: %s", id=4006) void newTopology(int viewId, int age, int topologySize, Collection<? extends SocketAddress> addresses)
    • exceptionAndNoRetriesLeft

      @LogMessage(level=ERROR) @Message(value="Exception encountered. Retry %d out of %d", id=4007) void exceptionAndNoRetriesLeft(int retry, int maxRetries, @Cause Throwable te)
    • noHasHFunctionConfigured

      @LogMessage(level=WARN) @Message(value="No hash function configured for version: %d", id=4011) void noHasHFunctionConfigured(int hashFunctionVersion)
    • newServerAdded

      @LogMessage(level=INFO) @Message(value="New server added(%s), adding to the pool.", id=4014) void newServerAdded(SocketAddress server)
    • removingServer

      @LogMessage(level=INFO) @Message(value="Server not in cluster anymore(%s), removing from the pool.", id=4016) void removingServer(SocketAddress server)
    • version

      @LogMessage(level=INFO) @Message(value="Infinispan version: %s", id=4021) void version(String version)
    • noSSLTrustManagerConfiguration

      @Message(value="SSL Enabled but no TrustStore specified", id=4024) CacheConfigurationException noSSLTrustManagerConfiguration()
    • missingKeyStorePassword

      @Message(value="A password is required to open the KeyStore \'%s\'", id=4025) CacheConfigurationException missingKeyStorePassword(String keyStore)
    • missingTrustStorePassword

      @Message(value="A password is required to open the TrustStore \'%s\'", id=4026) CacheConfigurationException missingTrustStorePassword(String trustStore)
    • xorSSLContext

      @Message(value="Cannot configure custom KeyStore and/or TrustStore when specifying a SSLContext", id=4027) CacheConfigurationException xorSSLContext()
    • parseErrorServerAddress

      @Message(value="Unable to parse server IP address %s", id=4028) CacheConfigurationException parseErrorServerAddress(String server)
    • invalidMaxRetries

      @Message(value="Invalid max_retries (value=%s). Value should be greater or equal than zero.", id=4029) CacheConfigurationException invalidMaxRetries(int retriesPerServer)
    • invalidAuthenticationConfiguration

      @Message(value="Cannot enable authentication without specifying either a username, a token, a client Subject or a CallbackHandler", id=4030) CacheConfigurationException invalidAuthenticationConfiguration()
    • unsupportedMech

      @Message(value="The selected authentication mechanism \'%s\' is not among the supported server mechanisms: %s", id=4031) SecurityException unsupportedMech(String authMech, List<String> serverMechs)
    • unableToUnmarshallBytes

      @Message(value="Unable to unmarshall bytes %s", id=4034) HotRodClientException unableToUnmarshallBytes(String bytes, @Cause Exception e)
    • exceptionInvokingListener

      @Message(value="Caught exception [%s] while invoking method [%s] on listener instance: %s", id=4035) CacheListenerException exceptionInvokingListener(String name, Method m, Object target, @Cause Throwable cause)
    • incorrectClientListener

      @Message(value="Methods annotated with %s must accept exactly one parameter, of assignable from type %s", id=4036) IncorrectClientListenerException incorrectClientListener(String annotationName, Collection<?> allowedParameters)
    • incorrectClientListener

      @Message(value="Methods annotated with %s should have a return type of void.", id=4037) IncorrectClientListenerException incorrectClientListener(String annotationName)
    • unexpectedErrorConsumingEvent

      @LogMessage(level=ERROR) @Message(value="Unexpected error consuming event %s", id=4038) void unexpectedErrorConsumingEvent(Object event, @Cause Throwable t)
    • unableToReadEventFromServer

      @LogMessage(level=WARN) @Message(value="Unable to complete reading event from server %s", id=4039) void unableToReadEventFromServer(@Cause Throwable t, SocketAddress server)
    • missingClientListenerAnnotation

      @Message(value="Cache listener class %s must be annotated with org.infinispan.client.hotrod.annotation.ClientListener", id=4040) IncorrectClientListenerException missingClientListenerAnnotation(String className)
    • unknownEvent

      @Message(value="Unknown event type %s received", id=4041) HotRodClientException unknownEvent(short eventTypeId)
    • nearCacheMaxEntriesUndefined

      @Message(value="When enabling near caching, number of max entries must be configured", id=4045) CacheConfigurationException nearCacheMaxEntriesUndefined()
    • iterationClosed

      @LogMessage(level=DEBUG) @Message(value="Successfully closed remote iterator \'%s\'", id=4046) void iterationClosed(String iterationId)
    • errorClosingIteration

      @Message(value="Invalid iteration id \'%s\'", id=4047) IllegalStateException errorClosingIteration(String iterationId)
    • errorRetrievingNext

      @Message(value="Invalid iteration id \'%s\'", id=4048) NoSuchElementException errorRetrievingNext(String iterationId)
    • switchedToCluster

      @LogMessage(level=INFO) @Message(value="Switched to cluster \'%s\'", id=4050) void switchedToCluster(String clusterName)
    • switchedBackToMainCluster

      @LogMessage(level=INFO) @Message(value="Switched back to main cluster", id=4051) void switchedBackToMainCluster()
    • manuallySwitchedToCluster

      @LogMessage(level=INFO) @Message(value="Manually switched to cluster \'%s\'", id=4052) void manuallySwitchedToCluster(String clusterName)
    • manuallySwitchedBackToMainCluster

      @LogMessage(level=INFO) @Message(value="Manually switched back to main cluster", id=4053) void manuallySwitchedBackToMainCluster()
    • missingClusterNameDefinition

      @Message(value="Name of the failover cluster needs to be specified", id=4054) CacheConfigurationException missingClusterNameDefinition()
    • missingHostDefinition

      @Message(value="Host needs to be specified in server definition of failover cluster", id=4055) CacheConfigurationException missingHostDefinition()
    • missingClusterServersDefinition

      @Message(value="At least one server address needs to be specified for failover cluster %s", id=4056) CacheConfigurationException missingClusterServersDefinition(String siteName)
    • duplicateClusterDefinition

      @Message(value="Duplicate failover cluster %s has been specified", id=4057) CacheConfigurationException duplicateClusterDefinition(String siteName)
    • clientListenerMustUseRawData

      @Message(value="The client listener must use raw data when it uses a query as a filter: %s", id=4058) IncorrectClientListenerException clientListenerMustUseRawData(String className)
    • clientListenerMustUseDesignatedFilterConverterFactory

      @Message(value="The client listener must use the \'%s\' filter/converter factory", id=4059) IncorrectClientListenerException clientListenerMustUseDesignatedFilterConverterFactory(String filterConverterFactoryName)
    • ignoringErrorDuringIterationClose

      @LogMessage(level=WARN) @Message(value="Ignoring error when closing iteration \'%s\'", id=4061) void ignoringErrorDuringIterationClose(String iterationId, @Cause Throwable e)
    • startedIteration

      @LogMessage(level=DEBUG) @Message(value="Started iteration \'%s\'", id=4062) void startedIteration(String iterationId)
    • iterationTransportObtained

      @LogMessage(level=DEBUG) @Message(value="Channel to %s obtained for iteration \'%s\'", id=4063) void iterationTransportObtained(SocketAddress address, String iterationId)
    • trackingSegmentKey

      @LogMessage(level=TRACE) @Message(value="Tracking key %s belonging to segment %d, already tracked? = %b", id=4064) void trackingSegmentKey(String key, int segment, boolean isTracked)
    • callbackHandlerAndUsernameMutuallyExclusive

      @Message(value="Cannot specify both a callback handler and a username/token for authentication", id=4067) CacheConfigurationException callbackHandlerAndUsernameMutuallyExclusive()
    • channelInactive

      @Message(value="Connection to %s is not active.", id=4069) TransportException channelInactive(@Param SocketAddress address1, SocketAddress address2)
    • failedToAddListener

      @Message(value="Failed to add client listener %s, server responded with status %d", id=4070) HotRodClientException failedToAddListener(Object listener, short status)
    • connectionClosed

      @Message(value="Connection to %s was closed while waiting for response.", id=4071) TransportException connectionClosed(@Param SocketAddress address1, SocketAddress address2)
    • cannotCreateAsyncThread

      @LogMessage(level=ERROR) @Message(value="Cannot create another async thread. Please increase \'infinispan.client.hotrod.default_executor_factory.pool_size\' (current value is %d).", id=4072) void cannotCreateAsyncThread(int maxPoolSize)
    • epollNotAvailable

      @LogMessage(level=INFO) @Message(value="Native Epoll transport not available, using NIO instead: %s", id=4074) void epollNotAvailable(String cause)
    • trustStoreFileAndPathExclusive

      @Message(value="TrustStoreFileName and TrustStorePath are mutually exclusive", id=4075) CacheConfigurationException trustStoreFileAndPathExclusive()
    • unknownMessageId

      @Message(value="Unknown message id %d; cannot find matching request", id=4076) IllegalStateException unknownMessageId(long messageId)
    • errorFromUnknownOperation

      @Message(value="Closing channel %s due to error in unknown operation.", id=4077) TransportException errorFromUnknownOperation(io.netty.channel.Channel channel, @Cause Throwable cause, @Param SocketAddress address)
    • noMoreOperationsAllowed

      @Message(value="This channel is about to be closed and does not accept any further operations.", id=4078) HotRodClientException noMoreOperationsAllowed()
    • unexpectedListenerId

      @Message(value="Unexpected listenerId %s", id=4079) IllegalStateException unexpectedListenerId(String listenerId)
    • operationIsNotAddClientListener

      @Message(value="Event should use messageId of previous Add Client Listener operation but id is %d and operation is %s", id=4080) IllegalStateException operationIsNotAddClientListener(long messageId, String operation)
    • invalidTransactionMode

      @Message(value="TransactionMode must be non-null.", id=4082) CacheConfigurationException invalidTransactionMode()
    • invalidTransactionManagerLookup

      @Message(value="TransactionManagerLookup must be non-null", id=4083) CacheConfigurationException invalidTransactionManagerLookup()
    • cacheDoesNotSupportTransactions

      @Message(value="Cache %s doesn\'t support transactions. Please check the documentation how to configure it properly.", id=4084) CacheNotTransactionalException cacheDoesNotSupportTransactions(String name)
    • invalidTxServerConfig

      @LogMessage(level=ERROR) @Message(value="Error checking server configuration for transactional cache %s", id=4085) void invalidTxServerConfig(String name, @Cause Throwable throwable)
    • exceptionDuringPrepare

      @LogMessage(level=WARN) @Message(value="Exception caught while preparing transaction %s", id=4086) void exceptionDuringPrepare(Xid xid, @Cause Exception e)
    • nearCacheMaxIdleUnsupported

      @LogMessage(level=WARN) @Message(value="Use of maxIdle expiration with a near cache is unsupported.", id=4087) void nearCacheMaxIdleUnsupported()
    • invalidTransactionTimeout

      @Message(value="Transactions timeout must be positive", id=4088) HotRodClientException invalidTransactionTimeout()
    • transactionTableNotStarted

      @Message(value="TransactionTable is not started!", id=4089) HotRodClientException transactionTableNotStarted()
    • invalidResponse

      @Message(value="[%s] Invalid response operation. Expected %#x and received %#x", id=4090) InvalidResponseException invalidResponse(String cacheName, short opRespCode, double receivedOpCode)
    • jmxRegistrationFailure

      @Message(value="MBean registration failed", id=4091) HotRodClientException jmxRegistrationFailure(@Cause Throwable cause)
    • jmxUnregistrationFailure

      @Message(value="MBean unregistration failed", id=4092) HotRodClientException jmxUnregistrationFailure(@Cause Throwable cause)
    • oauthBearerWithoutToken

      @Message(value="OAUTHBEARER mechanism selected without providing a token", id=4093) CacheConfigurationException oauthBearerWithoutToken()
    • remoteCacheTemplateNameXorConfiguration

      @Message(value="Cannot specify both template name and configuration for \'%s\'", id=4094) CacheConfigurationException remoteCacheTemplateNameXorConfiguration(String name)
    • notaHotRodURI

      @Message(value="Not a Hot Rod URI: %s", id=4095) IllegalArgumentException notaHotRodURI(String uri)
    • invalidPropertyFormat

      @Message(value="Invalid property format in URI: %s", id=4096) IllegalArgumentException invalidPropertyFormat(String part)
    • duplicateCacheConfiguration

      @Message(value="Illegal attempt to redefine an already existing cache configuration: %s", id=4097) IllegalArgumentException duplicateCacheConfiguration(String name)
    • closingChannelAfterError

      @LogMessage(level=WARN) @Message(value="Closing connection %s due to transport error", id=4098) void closingChannelAfterError(io.netty.channel.Channel channel, @Cause Throwable t)
    • warnPerfRemoteIterationWithoutPagination

      @LogMessage(level=WARN) @Message(value="Remote iteration over the entire result set of query \'%s\' without using pagination options is inefficient for large result sets. Please consider using \'startOffset\' and \'maxResults\' options.", id=4099) void warnPerfRemoteIterationWithoutPagination(String query)
    • throwableDuringPublisher

      @LogMessage(level=WARN) @Message(value="Error reaching the server during iteration", id=4100) void throwableDuringPublisher(@Cause Throwable t)
    • deprecatedConfigurationProperty

      @LogMessage(level=WARN) @Message(value="Configuration property \'%s\' has been deprecated", id=4101) void deprecatedConfigurationProperty(String property)
    • nearCacheMaxEntriesPositiveWithBloom

      @Message(value="Near cache number of max entries must be a positive number when using bloom filter optimization, it was %d", id=4102) CacheConfigurationException nearCacheMaxEntriesPositiveWithBloom(int maxEntries)
    • bloomFilterRequiresMaxActiveOneAndWait

      @Message(value="Near cache with bloom filter requires pool max active to be 1, was %s, and exhausted action to be WAIT, was %s", id=4103) CacheConfigurationException bloomFilterRequiresMaxActiveOneAndWait(int maxActive, ExhaustedAction action)
    • failedToCreatePredefinedSerializationContextInitializer

      @LogMessage(level=WARN) @Message(value="Failed to load and create an optional ProtoStream serialization context initializer: %s", id=4104) void failedToCreatePredefinedSerializationContextInitializer(String className, @Cause Throwable throwable)
    • revertCacheToInitialServerList

      @LogMessage(level=WARN) @Message(value="Reverting to the initial server list for caches %s", id=4105) void revertCacheToInitialServerList(Collection<String> cacheName)
    • invalidActiveCountAfterClose

      @LogMessage(level=WARN) @Message(value="Invalid active count after closing channel %s", id=4106) void invalidActiveCountAfterClose(io.netty.channel.Channel channel)
    • invalidCreatedCountAfterClose

      @LogMessage(level=WARN) @Message(value="Invalid created count after closing channel %s", id=4107) void invalidCreatedCountAfterClose(io.netty.channel.Channel channel)
    • ioUringNotAvailable

      @LogMessage(level=INFO) @Message(value="Native IOUring transport not available, using NIO instead: %s", id=4108) void ioUringNotAvailable(String cause)
    • noOpenTelemetryAPI

      @LogMessage(level=TRACE) @Message(value="OpenTelemetry API is not present in the classpath. Client context tracing will not be propagated.", id=4109) void noOpenTelemetryAPI()
    • openTelemetryPropagationEnabled

      @LogMessage(level=TRACE) @Message(value="OpenTelemetry API is present in the classpath and the tracing propagation is enabled. Client context tracing will be propagated.", id=4110) @Once void openTelemetryPropagationEnabled()
    • openTelemetryPropagationDisabled

      @LogMessage(level=TRACE) @Message(value="OpenTelemetry API is present in the classpath, but the tracing propagation is not enabled. Client context tracing will not be propagated.", id=4111) @Once void openTelemetryPropagationDisabled()
    • missingSniHostName

      @Message(value="The SNI hostname is required when hostname validation is enabled", id=4112) CacheConfigurationException missingSniHostName()
    • queryDisabled

      @LogMessage(level=INFO) @Message(value="Query module not found. Queries are disabled.", id=4113) void queryDisabled()
    • queryNotSupported

      @Message(value="Query module not found. Add remote-query-client to the classpath.", id=4114) HotRodClientException queryNotSupported()
    • errorCreatingPropagationContext

      @LogMessage(level=WARN) @Message(value="Unexpected error while creating the tracing propagation context. Client context tracing will not be propagated.", id=4115) void errorCreatingPropagationContext(@Cause Throwable throwable)
    • serverKeyTypeNotRecognized

      @LogMessage(level=WARN) @Message(value="Client cannot marshall the server\'s key media type (\'%s\'). This could cause poor performance.", id=4116) void serverKeyTypeNotRecognized(MediaType serverKeyType)
    • invalidateNearDefaultMarshallerMismatch

      @LogMessage(level=WARN) @Message(value="Cache \'%s\' with marshaller %s does not handle server storage type \'%s\'. Configure the cache or default marshaller.", id=4117) void invalidateNearDefaultMarshallerMismatch(String cacheName, Class<?> clazz, MediaType serverKeyType)