play.libs
类 F.ArchivedEventStream<T>

java.lang.Object
  继承者 play.libs.F.ArchivedEventStream<T>
包容类:
F

public static class F.ArchivedEventStream<T>
extends java.lang.Object


构造方法摘要
F.ArchivedEventStream(int archiveSize)
           
 
方法摘要
 java.util.List<T> archive()
           
 java.util.List<F.IndexedEvent> availableEvents(long lastEventSeen)
           
 F.EventStream<T> eventStream()
           
 F.Promise<java.util.List<F.IndexedEvent<T>>> nextEvents(long lastEventSeen)
           
 void publish(T event)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

F.ArchivedEventStream

public F.ArchivedEventStream(int archiveSize)
方法详细信息

eventStream

public F.EventStream<T> eventStream()

nextEvents

public F.Promise<java.util.List<F.IndexedEvent<T>>> nextEvents(long lastEventSeen)

availableEvents

public java.util.List<F.IndexedEvent> availableEvents(long lastEventSeen)

archive

public java.util.List<T> archive()

publish

public void publish(T event)


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly