com.bstek.dorado.console.system.log
public class ExpirablePublisher extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<T> |
listeners |
Constructor and Description |
---|
ExpirablePublisher() |
Modifier and Type | Method and Description |
---|---|
void |
checkExpirables() |
ExpirableLogBuffer |
create() |
T |
find(java.lang.String lid) |
java.lang.String |
listenerId(T t) |
protected void |
onPushError(java.lang.Throwable t,
T listener,
Event event) |
void |
publish(Event event) |
void |
register(T listener) |
void |
unregister(T listener) |
protected java.util.List<T extends com.bstek.dorado.console.system.log.LogBuffer> listeners
public void publish(Event event)
public void checkExpirables()
public ExpirableLogBuffer create()
public java.lang.String listenerId(T t)
public T find(java.lang.String lid)
public void register(T listener)
public void unregister(T listener)
protected void onPushError(java.lang.Throwable t, T listener, Event event)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.