Package jline.lang.layered
Class Entry
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public class Entry extends LayeredNetworkElement
An Entry represents a service interface exposed by a Task in a layered queueing network.
Entries define the points where external requests can enter a task and receive service. They act as the public interface of a task, similar to methods or endpoints in software systems. Each entry can receive requests from other tasks or from external arrival sources.
Key characteristics:
- Service interface: Defines what service the task provides to callers
- Arrival rate: For open systems, the rate at which external requests arrive
- Activity binding: Can be bound to specific activities that implement the service
- Reply activity: Designates which activity sends the response back to the caller
Entries are essential for modeling service-oriented architectures, web services, database systems, and any system where tasks provide distinct services to clients.
-
-
Field Summary
Fields Modifier and Type Field Description public doubleopenArrivalRateprotected Taskparentprotected Map<Integer, String>boundToActivityprotected Map<Integer, String>replyActivityprotected Matrixschedulingpublic final static intACTIVITYpublic final static intCALLpublic final static intENTRYpublic final static intHOSTpublic final static intPROCESSORpublic final static intTASKpublic LayeredNetworkmodelprotected Stringname
-
Constructor Summary
Constructors Constructor Description Entry(LayeredNetwork model, String name)
-
Method Summary
Modifier and Type Method Description doublegetOpenArrivalRate()voidsetOpenArrivalRate(double openArrivalRate)Entryon(Task newParent)-
-
Constructor Detail
-
Entry
Entry(LayeredNetwork model, String name)
-
-
Method Detail
-
getOpenArrivalRate
double getOpenArrivalRate()
-
setOpenArrivalRate
void setOpenArrivalRate(double openArrivalRate)
-
-
-
-