org.infinispan.notifications.Listener.<init>()方法的使用及代码示例

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

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

Listener.<init>介绍

暂无

代码示例

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

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

代码示例来源: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.infinispan/infinispan-core

@Listener(clustered = true)
private static final class NoOpListener {
 @CacheEntryCreated
 public void handleEvent(CacheEntryEvent<Object, Object> e) {
 }
}

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

@Listener
static public class TestControlListener {
 @CacheEntryVisited
 @CacheEntryRemoved
 public void callback(Event e) {
 }
}

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

@Listener
static public class TestNonPublicListenerMethodListener {
 @CacheEntryVisited
 protected void callback(Event e) {
 }
}

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

@Listener
static public class TestIncorrectMethodSignature1Listener {
 @CacheEntryVisited
 public void callback() {
 }
}

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

@Listener
static public class TestUnassignableMethodSignatureListener {
 @CacheEntryVisited
 public void callback(CacheEntryRemovedEvent e) {
 }
}

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

@Listener
  static public class TestMultipleMethodsOneAnnotationListener {
   @CacheEntryVisited
   public void callback1(Event e) {
   }

   @CacheEntryVisited
   public void callback2(Event e) {
   }
  }
}

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

@Listener
  public static class CacheListener {
   AtomicInteger i;

   private CacheListener(AtomicInteger i) {
     this.i = i;
   }

   @CacheEntryVisited
   public void listen(Event e) {
     if (e.isPre()) i.incrementAndGet();
   }
  }
}

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

@Listener
static public class TestMultipleMethodsListener {
 @CacheEntryVisited
 public void callback1(Event e) {
 }
 @CacheEntryRemoved
 public void callback2(Event e) {
 }
}

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

@Listener(clustered = true, includeCurrentState = true)
protected class ClusterListenerWithIncludeCurrentState extends ClusterListener {
 protected boolean hasIncludeState() {
   return true;
 }
}

相关文章

Listener类方法