EventType
- reflexive self typepublic abstract class IterationInternalEvent<EventType extends IterationInternalEvent<?>> extends Event<EventType>
Modifier | Constructor and Description |
---|---|
protected |
IterationInternalEvent(String owner,
int[] index,
InvocationContext context)
Protected constructor for the minimum fields required by all Event
subclasses
|
Modifier and Type | Method and Description |
---|---|
protected int[] |
getPoppedIndex()
Helper method for the popIndex operation, returns the modified index
array.
|
protected String |
getPushedOwningProcess()
Helper method for the pushIndex operation
|
abstract IterationInternalEvent<EventType> |
popIndex()
Pop a previously pushed index array off the process name and append the
current index array to create the new index array.
|
abstract IterationInternalEvent<EventType> |
pushIndex()
Push the index array onto the owning process name and return the new
Event subclass object.
|
getContext, getIndex, getOwningProcess, isFinal, popOwner, popOwningProcess, pushOwner, pushOwningProcess, toString
protected IterationInternalEvent(String owner, int[] index, InvocationContext context)
owner
- index
- context
- public abstract IterationInternalEvent<EventType> popIndex()
public abstract IterationInternalEvent<EventType> pushIndex()
protected final String getPushedOwningProcess()
protected final int[] getPoppedIndex()
return new <Event subclass>(owner.substring(0, owner.lastIndexOf(':')),getPoppedIndex(), dataMap);
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.