Interface Log

  • All Superinterfaces:
    org.jboss.logging.BasicLogger
    All Known Implementing Classes:
    Log_$logger

    @MessageLogger(projectCode="ISPN")
    public interface Log
    extends org.jboss.logging.BasicLogger
    Logger for JCache implementation.
    Since:
    5.3
    Author:
    Galder ZamarreƱo
    • Method Detail

      • cacheManagerNotClosed

        @Message(value="Allocation stack trace:",
                 id=21001)
        Log.LeakDescription cacheManagerNotClosed()
      • leakedCacheManager

        @LogMessage(level=WARN)
        @Message(value="Closing leaked cache manager",
                 id=21002)
        void leakedCacheManager​(@Cause
                                Throwable allocationStackTrace)
      • methodWithoutCacheAnnotation

        @Message(value="Method named \'%s\' is not annotated with CacheResult, CachePut, CacheRemoveEntry or CacheRemoveAll",
                 id=21003)
        IllegalArgumentException methodWithoutCacheAnnotation​(String methodName)
      • cachePutMethodWithoutCacheValueParameter

        @Message(value="Method named \'%s\' must have at least one parameter annotated with @CacheValue",
                 id=21004)
        javax.cache.CacheException cachePutMethodWithoutCacheValueParameter​(String methodName)
      • cachePutMethodWithMoreThanOneCacheValueParameter

        @Message(value="Method named \'%s\' must have only one parameter annotated with @CacheValue",
                 id=21005)
        javax.cache.CacheException cachePutMethodWithMoreThanOneCacheValueParameter​(String methodName)
      • cacheRemoveEntryMethodWithoutCacheName

        @Message(value="Method named \'%s\' is annotated with CacheRemoveEntry but doesn\'t specify a cache name",
                 id=21006)
        javax.cache.CacheException cacheRemoveEntryMethodWithoutCacheName​(String methodName)
      • cacheRemoveAllMethodWithoutCacheName

        @Message(value="Method named \'%s\' is annotated with CacheRemoveAll but doesn\'t specify a cache name",
                 id=21007)
        javax.cache.CacheException cacheRemoveAllMethodWithoutCacheName​(String methodName)
      • unableToInstantiateCacheKeyGenerator

        @Message(value="Unable to instantiate CacheKeyGenerator with type \'%s\'",
                 id=21008)
        javax.cache.CacheException unableToInstantiateCacheKeyGenerator​(Class<?> type,
                                                                        @Cause
                                                                        Throwable cause)
      • parameterMustNotBeNull

        @Message(value="\'%s\' parameter must not be null",
                 id=21010)
        NullPointerException parameterMustNotBeNull​(String parameterName)
      • incompatibleType

        @Message(value="Incompatible cache value types specified, expected %s but %s was specified",
                 id=21011)
        ClassCastException incompatibleType​(Class<?> type,
                                            Class<?> cfgType)
      • cacheAlreadyRegistered

        @Message(value="Cache %s already registered with configuration %s, and can not be registered again with a new given configuration %s",
                 id=21015)
        javax.cache.CacheException cacheAlreadyRegistered​(String cacheName,
                                                          javax.cache.configuration.Configuration cacheCfg,
                                                          javax.cache.configuration.Configuration newCfg)
      • unknownExpiryOperation

        @Message(value="Unknown expiry operation: %s",
                 id=21016)
        IllegalStateException unknownExpiryOperation​(String op)
      • configurationClassNotSupported

        @Message(value="The configuration class %s is not supported by this implementation",
                 id=21018)
        IllegalArgumentException configurationClassNotSupported​(Class clazz)
      • entryProcessingFailed

        @Message(value="Entry processing failed",
                 id=21019)
        javax.cache.processor.EntryProcessorException entryProcessingFailed​(@Cause
                                                                            Throwable t)
      • cacheNotFound

        @Message(value="Cache named \'%s\' was not found.",
                 id=21022)
        javax.cache.CacheException cacheNotFound​(String cacheName)
      • cacheManagerClosed

        @Message(value="Cache manager is already closed.",
                 id=21030)
        IllegalStateException cacheManagerClosed()
      • errorClosingCloseable

        @LogMessage(level=WARN)
        @Message(value="Error closing %s",
                 id=21031)
        void errorClosingCloseable​(Closeable closeable,
                                   @Cause
                                   Exception e)