Package reactor.alloc.factory

Examples of reactor.alloc.factory.EventFactorySupplier


  public static EventAllocator defaultEventAllocator() {
    return new EventAllocator() {
      @SuppressWarnings("unchecked")
      @Override
      protected <T> Allocator<Event<T>> makeAllocator(Class<T> klass) {
        return new ReferenceCountingAllocator<Event<T>>(new EventFactorySupplier(klass));
      }
    };
  }
View Full Code Here

TOP

Related Classes of reactor.alloc.factory.EventFactorySupplier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.