public class Esi extends Object implements Extension, IEventListener
<esi:include src="$(PROVIDER{cms})/news" fragment="news_1"/>
This extension implements multi-threaded processing, aka Parallel ESI.
It uses the following parameters :
Modifier and Type | Field and Description |
---|---|
static String[] |
CAPABILITIES |
static Parameter<Integer> |
IDLE |
static Parameter<Integer> |
MAX_QUEUE |
static Parameter<Integer> |
MAX_THREADS |
static Parameter<Integer> |
MIN_THREADS |
Constructor and Description |
---|
Esi() |
Modifier and Type | Method and Description |
---|---|
boolean |
event(EventDefinition id,
Event event)
Handle an event.
|
void |
init(Driver driver,
Properties properties)
Initialize the extension using the given properties.
|
public static final String[] CAPABILITIES
public boolean event(EventDefinition id, Event event)
IEventListener
event
in interface IEventListener
public void init(Driver driver, Properties properties)
Extension
Extensions may register to events during the init phase.
Copyright © 2008–2018. All rights reserved.