org.infinispan.notifications.Listener类的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(4.9k)|赞(0)|评价(0)|浏览(192)

本文整理了Java中org.infinispan.notifications.Listener类的一些代码示例,展示了Listener类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Listener类的具体详情如下:
包路径:org.infinispan.notifications.Listener
类名称:Listener

Listener介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

@Listener(sync = false)
public class CoarseSessionAttributesFactory<V> implements SessionAttributesFactory<Map.Entry<Map<String, Object>, V>> {

代码示例来源:origin: org.infinispan/infinispan-core

private boolean isClustered(StateListener listener) {
 return listener.getClass().getAnnotation(Listener.class).clustered();
}

代码示例来源:origin: wildfly/wildfly

@Listener
public class CacheContainerServiceConfigurator extends CapabilityServiceNameProvider implements ResourceServiceConfigurator, Function<EmbeddedCacheManager, CacheContainer>, Supplier<EmbeddedCacheManager>, Consumer<EmbeddedCacheManager> {

代码示例来源:origin: wildfly/wildfly

@Listener(sync = false)
public class FineSessionAttributesFactory<V> implements SessionAttributesFactory<Map<String, UUID>> {

代码示例来源:origin: wildfly/wildfly

@Listener(sync = false)
public class InfinispanSessionMetaDataFactory<L> implements SessionMetaDataFactory<InfinispanSessionMetaData<L>, L> {

代码示例来源:origin: wildfly/wildfly

@Listener
public class InfinispanBeanGroupFactory<I, T> implements BeanGroupFactory<I, T> {

代码示例来源:origin: wildfly/wildfly

@org.infinispan.notifications.Listener
public class CacheGroup implements Group<Address>, AutoCloseable {

代码示例来源:origin: wildfly/wildfly

@Listener
public class InfinispanSessionManagerFactory<C extends Marshallability, L> implements SessionManagerFactory<L, TransactionBatch> {

代码示例来源:origin: wildfly/wildfly

@org.infinispan.notifications.Listener(sync = false)
public class CacheServiceProviderRegistry<T> implements ServiceProviderRegistry<T>, GroupListener, AutoCloseable {

代码示例来源:origin: wildfly/wildfly

@org.infinispan.notifications.Listener
public class CacheRegistry<K, V> implements Registry<K, V>, CacheEventFilter<Object, Object> {

代码示例来源:origin: wildfly/wildfly

@Listener(primaryOnly = true)
public class InfinispanBeanManager<I, T> implements BeanManager<I, T, TransactionBatch> {

代码示例来源:origin: wildfly/wildfly

@Listener(primaryOnly = true)
public class InfinispanSessionManager<MV, AV, L> implements SessionManager<L, TransactionBatch> {

代码示例来源:origin: org.projectodd.wunderboss/wunderboss-caching

@org.infinispan.notifications.Listener
public static class TransactionCompleted extends Listener {
  public TransactionCompleted(Handler handler) {
    super(handler);
  }
  @org.infinispan.notifications.cachelistener.annotation.TransactionCompleted
  public void handle(TransactionCompletedEvent e) {
    handler.handle(e);
  }
}

代码示例来源:origin: org.projectodd.wunderboss/wunderboss-caching

@org.infinispan.notifications.Listener
public static class CacheEntryLoaded extends Listener {
  public CacheEntryLoaded(Handler handler) {
    super(handler);
  }
  @org.infinispan.notifications.cachelistener.annotation.CacheEntryLoaded
  public void handle(CacheEntryLoadedEvent e) {
    handler.handle(e);
  }
}

代码示例来源:origin: org.projectodd.wunderboss/wunderboss-caching

@org.infinispan.notifications.Listener
public static class CacheEntryModified extends Listener {
  public CacheEntryModified(Handler handler) {
    super(handler);
  }
  @org.infinispan.notifications.cachelistener.annotation.CacheEntryModified
  public void handle(CacheEntryModifiedEvent e) {
    handler.handle(e);
  }
}

代码示例来源:origin: org.projectodd.wunderboss/wunderboss-caching

@org.infinispan.notifications.Listener
public static class CacheEntryPassivated extends Listener {
  public CacheEntryPassivated(Handler handler) {
    super(handler);
  }
  @org.infinispan.notifications.cachelistener.annotation.CacheEntryPassivated
  public void handle(CacheEntryPassivatedEvent e) {
    handler.handle(e);
  }
}

代码示例来源:origin: org.projectodd.wunderboss/wunderboss-caching

@org.infinispan.notifications.Listener
public static class CacheEntryRemoved extends Listener {
  public CacheEntryRemoved(Handler handler) {
    super(handler);
  }
  @org.infinispan.notifications.cachelistener.annotation.CacheEntryRemoved
  public void handle(CacheEntryRemovedEvent e) {
    handler.handle(e);
  }
}

代码示例来源:origin: org.projectodd.wunderboss/wunderboss-caching

@org.infinispan.notifications.Listener
public static class CacheEntryVisited extends Listener {
  public CacheEntryVisited(Handler handler) {
    super(handler);
  }
  @org.infinispan.notifications.cachelistener.annotation.CacheEntryVisited
  public void handle(CacheEntryVisitedEvent e) {
    handler.handle(e);
  }
}

代码示例来源:origin: org.apache.camel/camel-infinispan

@Listener(clustered = true, sync = false)
public class InfinispanAsyncClusteredEventListener extends InfinispanSyncLocalEventListener {
  public InfinispanAsyncClusteredEventListener(InfinispanConsumer consumer, Set<String> eventTypes) {
    super(consumer, eventTypes);
  }
}

代码示例来源:origin: org.apache.camel/camel-infinispan

@Listener(clustered = false, sync = false)
public class InfinispanAsyncLocalEventListener extends InfinispanSyncLocalEventListener {
  public InfinispanAsyncLocalEventListener(InfinispanConsumer consumer, Set<String> eventTypes) {
    super(consumer, eventTypes);
  }
}

相关文章