org.infinispan.loaders.jdbc.logging
Interface Log

All Superinterfaces:
org.jboss.logging.BasicLogger, Log

@MessageLogger(projectCode="ISPN")
public interface Log
extends Log

Log abstraction for the JDBC cache store. For this module, message ids ranging from 8001 to 9000 inclusively have been reserved.

Since:
5.0
Author:
Galder ZamarreƱo

Method Summary
 void classNotFoundIntegratingState(ClassNotFoundException e)
           
 void connectionInJndiNotFound(String dataSourceName)
           
 void couldNotDestroyC3p0ConnectionPool(com.mchange.v2.c3p0.ComboPooledDataSource pooledDataSource, SQLException e)
           
 void errorCreatingTable(String sql, SQLException e)
           
 void errorInstantiatingJdbcDriver(String driverClass, PropertyVetoException e)
           
 void errorMarshallingBucket(Object bucket, IOException ioe)
           
 void failedClearingJdbcCacheStore(SQLException e)
           
 void failedClosingNamingCtx(NamingException e)
           
 void failureClosingConnection(SQLException e)
           
 void invalidKey2StringMapper(String where, String className)
           
 void ioErrorIntegratingState(IOException e)
           
 void ioErrorStoringKeys(IOException e)
           
 void ioErrorUnmarshalling(IOException e)
           
 void namingExceptionLookingUpConnection(String dataSourceName, NamingException e)
           
 void sqlFailureClosingConnection(Connection conn, SQLException e)
           
 void sqlFailureFetchingAllStoredEntries(SQLException e)
           
 void sqlFailureInsertingBucket(Bucket bucket, SQLException e)
           
 void sqlFailureIntegratingState(SQLException e)
           
 void sqlFailureLoadingKey(String keyHashCode, SQLException e)
           
 void sqlFailureReadingKey(Object key, String lockingKey, SQLException e)
           
 void sqlFailureRemovingKeys(SQLException e)
           
 void sqlFailureRetrievingConnection(SQLException e)
           
 void sqlFailureStoringKey(String lockingKey, int bufferSize, SQLException e)
           
 void sqlFailureStoringKeys(SQLException e)
           
 void sqlFailureUnexpected(SQLException e)
           
 void sqlFailureUpdatingBucket(Bucket bucket, SQLException e)
           
 void unexpectedClassNotFoundException(ClassNotFoundException e)
           
 
Methods inherited from interface org.infinispan.util.logging.Log
abortingJoin, afterCompletionFailed, asymmetricClusterWarning, asyncStoreCoordinatorInterrupted, asyncStoreShutdownTimeoutTooHigh, beforeCompletionFailed, cacheCanNotHandleInvocations, cacheManagerAlreadyRegistered, cacheNotStarted, cannotSelectRandomMembers, channelNotSetUp, completedLeaveRehash, couldNotAcquireLockForEviction, couldNotAcquireSharedLock, couldNotFindAttribute, couldNotFindDescriptionField, couldNotFindPeerForState, couldNotInitializeModule, couldNotInvokeSetOnAttribute, couldNotLoadModuleAtUrl, couldNotRegisterObjectName, couldNotResolveConfigurationSchema, couldNotRollbackPrepared1PcTransaction, disconnectAndCloseJGroups, distributionManagerNotJoined, distributionManagerNotStarted, errorChangingSingletonStoreStatus, errorClearinAsyncStore, errorCommittingTx, errorCreatingChannelFromConfigFile, errorCreatingChannelFromConfigString, errorCreatingChannelFromXML, errorDoingRemoteCall, errorDuringRehash, errorEnlistingResource, errorFlushingToFileChannel, errorGeneratingState, errorInstantiatingJGroupsChannelLookup, errorMarshallingObject, errorModifyingAsyncStore, errorProcessing1pcPrepareCommand, errorPurgingAsyncStore, errorPushingTxLog, errorReadingFromFile, errorReadingProperties, errorRequestingOrApplyingState, errorRollingBack, errorSavingBucket, errorTransferringState, errorWritingValueForAttribute, evictionWakeUpIntervalDeprecated, exceptionHandlingCommand, exceptionPurgingDataContainer, exceptionWhenReplaying, executionError, expectedJustOneResponse, failedInvalidatingRemoteCache, failedLoadingValueFromCacheStore, failedReplicatingQueue, failedSynchronizationRegistration, failedToCallStopAfterFailure, failedToCreateInitialCtx, failedToInvalidateKeys, failedToUpdateAtribute, fallingBackToDummyTm, fieldNotFound, ignoreClusterGetCall, ignoringException, ignoringManagedAttribute, interruptedAcquiringLock, interruptedWaitingAsyncStorePush, interruptedWaitingForCoordinator, invalidManagedAttributeMethod, invalidTimeoutValue, joinEvent, joinRehashAborted, joinRehashCompleted, keyDoesNotMapToLocalNode, lazyDeserializationDeprecated, leaveEvent, localAndPhysicalAddress, localExecutionFailed, mbeansSuccessfullyRegistered, missingListPreparedTransactions, msgOrMsgBufferEmpty, namedCacheDoesNotExist, noAnnotateMethodsFoundInListener, notStartingEvictionThread, participatingInRehash, passivatedEntries, passivatingAllEntries, passivationWithoutEviction, preparedTxAlreadyExists, problemApplyingStateForKey, problemClosingChannel, problemPurgingExpired, problemsCreatingDirectory, problemsPurgingFile, problemsRemovingFile, problemsUnregisteringMBeans, propertyCouldNotBeReplaced, queriedAttributeNotFound, readManagedAttributeAlreadyPresent, receivedClusterView, receivedMergedView, recoveryIgnored, rehashCommandReceivedOnNonDistributedCache, remoteExecutionFailed, remoteTxAlreadyRegistered, retrievingTm, shouldBeUsingStartCache, staleEntriesWithoutFetchPersistentStateOrPurgeOnStartup, startingJGroupsChannel, stopBeforeDestroyFailed, stoppingRpcDispatcher, streamingStateTransferNotPresent, successfullyAppliedState, tryingToFetchState, unableToAcquireLockToPurgeStore, unableToApplyPrepare, unableToClearAsyncStore, unableToConvertStringPropertyToBoolean, unableToConvertStringPropertyToInt, unableToConvertStringPropertyToLong, unableToCopyEntryForUpdate, unableToInvokeGetterOnConfiguration, unableToInvokeListenerMethod, unableToInvokeWebsphereStaticGetTmMethod, unableToLoadFromCacheLoader, unableToLockToInvalidate, unableToPassivateEntry, unableToProcessAsyncModifications, unableToProcessLeaver, unableToReadVersionId, unableToRetrieveState, unableToRollbackGlobalTx, unableToSetValue, unableToStopTransactionLogging, unableToUnlockRebalancedKeys, unableToUnregisterMBeanWithPattern, unableToUseJGroupsPropertiesProvided, unbindingDummyTmFailed, unexpectedErrorFromResourceManager, unexpectedErrorInAsyncProcessor, unexpectedErrorInAsyncStoreCoordinator, unexpectedErrorReplicating, unfinishedTransactionsRemain, unknownResponsesFromRemoteCache, unprocessedTxLogEntries, unsupportedTransactionConfiguration, version, viewChangeDetected, viewChangeInterrupted, waitForCacheToStart, writeManagedAttributeAlreadyPresent, wrongTypeForJGroupsChannelLookup
 
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
 

Method Detail

failedClearingJdbcCacheStore

@LogMessage(level=ERROR)
@Message(value="Failed clearing cache store",
         id=8001)
void failedClearingJdbcCacheStore(@Cause
                                                     SQLException e)

ioErrorIntegratingState

@LogMessage(level=ERROR)
@Message(value="I/O failure while integrating state into store",
         id=8002)
void ioErrorIntegratingState(@Cause
                                                IOException e)

sqlFailureIntegratingState

@LogMessage(level=ERROR)
@Message(value="SQL failure while integrating state into store",
         id=8003)
void sqlFailureIntegratingState(@Cause
                                                   SQLException e)

classNotFoundIntegratingState

@LogMessage(level=ERROR)
@Message(value="Class not found while integrating state into store",
         id=8004)
void classNotFoundIntegratingState(@Cause
                                                      ClassNotFoundException e)

ioErrorStoringKeys

@LogMessage(level=ERROR)
@Message(value="I/O Error while storing string keys to database",
         id=8005)
void ioErrorStoringKeys(@Cause
                                           IOException e)

sqlFailureStoringKeys

@LogMessage(level=ERROR)
@Message(value="SQL Error while storing string keys to database",
         id=8006)
void sqlFailureStoringKeys(@Cause
                                              SQLException e)

sqlFailureFetchingAllStoredEntries

@LogMessage(level=ERROR)
@Message(value="SQL error while fetching all StoredEntries",
         id=8007)
void sqlFailureFetchingAllStoredEntries(@Cause
                                                           SQLException e)

errorMarshallingBucket

@LogMessage(level=ERROR)
@Message(value="I/O failure while marshalling bucket: %s",
         id=8008)
void errorMarshallingBucket(Object bucket,
                                               IOException ioe)

ioErrorUnmarshalling

@LogMessage(level=ERROR)
@Message(value="I/O error while unmarshalling from stream",
         id=8009)
void ioErrorUnmarshalling(@Cause
                                             IOException e)

unexpectedClassNotFoundException

@LogMessage(level=ERROR)
@Message(value="*UNEXPECTED* ClassNotFoundException. This should not happen as Bucket class exists",
         id=8010)
void unexpectedClassNotFoundException(@Cause
                                                         ClassNotFoundException e)

errorCreatingTable

@LogMessage(level=ERROR)
@Message(value="Error while creating table; used DDL statement: \'%s\'",
         id=8011)
void errorCreatingTable(String sql,
                                           @Cause
                                           SQLException e)

sqlFailureInsertingBucket

@LogMessage(level=ERROR)
@Message(value="Sql failure while inserting bucket: %s",
         id=8012)
void sqlFailureInsertingBucket(Bucket bucket,
                                                  @Cause
                                                  SQLException e)

sqlFailureUpdatingBucket

@LogMessage(level=ERROR)
@Message(value="Sql failure while updating bucket: %s",
         id=8013)
void sqlFailureUpdatingBucket(Bucket bucket,
                                                 @Cause
                                                 SQLException e)

sqlFailureLoadingKey

@LogMessage(level=ERROR)
@Message(value="Sql failure while loading key: %s",
         id=8014)
void sqlFailureLoadingKey(String keyHashCode,
                                             @Cause
                                             SQLException e)

connectionInJndiNotFound

@LogMessage(level=ERROR)
@Message(value="Could not find a connection in jndi under the name \'%s\'",
         id=8015)
void connectionInJndiNotFound(String dataSourceName)

namingExceptionLookingUpConnection

@LogMessage(level=ERROR)
@Message(value="Could not lookup connection with datasource %s",
         id=8016)
void namingExceptionLookingUpConnection(String dataSourceName,
                                                           @Cause
                                                           NamingException e)

failedClosingNamingCtx

@LogMessage(level=WARN)
@Message(value="Failed to close naming context.",
         id=8017)
void failedClosingNamingCtx(@Cause
                                               NamingException e)

sqlFailureRetrievingConnection

@LogMessage(level=ERROR)
@Message(value="Sql failure retrieving connection from datasource",
         id=8018)
void sqlFailureRetrievingConnection(@Cause
                                                       SQLException e)

sqlFailureClosingConnection

@LogMessage(level=ERROR)
@Message(value="Issues while closing connection %s",
         id=8019)
void sqlFailureClosingConnection(Connection conn,
                                                    @Cause
                                                    SQLException e)

errorInstantiatingJdbcDriver

@LogMessage(level=ERROR)
@Message(value="Error while instatianting JDBC driver: \'%s\'",
         id=8020)
void errorInstantiatingJdbcDriver(String driverClass,
                                                     @Cause
                                                     PropertyVetoException e)

couldNotDestroyC3p0ConnectionPool

@LogMessage(level=WARN)
@Message(value="Could not destroy C3P0 connection pool: %s",
         id=8021)
void couldNotDestroyC3p0ConnectionPool(com.mchange.v2.c3p0.ComboPooledDataSource pooledDataSource,
                                                          @Cause
                                                          SQLException e)

sqlFailureUnexpected

@LogMessage(level=WARN)
@Message(value="Unexpected sql failure",
         id=8022)
void sqlFailureUnexpected(@Cause
                                             SQLException e)

failureClosingConnection

@LogMessage(level=WARN)
@Message(value="Failure while closing the connection to the database",
         id=8023)
void failureClosingConnection(@Cause
                                                 SQLException e)

sqlFailureStoringKey

@LogMessage(level=ERROR)
@Message(value="Error while storing string key to database; key: \'%s\', buffer size of value: %d bytes",
         id=8024)
void sqlFailureStoringKey(String lockingKey,
                                             int bufferSize,
                                             @Cause
                                             SQLException e)

sqlFailureRemovingKeys

@LogMessage(level=ERROR)
@Message(value="Error while removing string keys from database",
         id=8025)
void sqlFailureRemovingKeys(@Cause
                                               SQLException e)

invalidKey2StringMapper

@LogMessage(level=ERROR)
@Message(value="In order for JdbcStringBasedCacheStore to support %s, the Key2StringMapper needs to implement TwoWayKey2StringMapper. You should either make %s implement TwoWayKey2StringMapper or disable the sql. See [https://jira.jboss.org/browse/ISPN-579] for more details.",
         id=8026)
void invalidKey2StringMapper(String where,
                                                String className)

sqlFailureReadingKey

@LogMessage(level=ERROR)
@Message(value="SQL error while fetching stored entry with key: %s, lockingKey: %s",
         id=8027)
void sqlFailureReadingKey(Object key,
                                             String lockingKey,
                                             @Cause
                                             SQLException e)

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.