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 double
openArrivalRate
protected Task
parent
protected Map<Integer, String>
boundToActivity
protected Map<Integer, String>
replyActivity
protected Matrix
scheduling
public final static int
ACTIVITY
public final static int
CALL
public final static int
ENTRY
public final static int
HOST
public final static int
PROCESSOR
public final static int
TASK
public LayeredNetwork
model
protected String
name
-
Constructor Summary
Constructors Constructor Description Entry(LayeredNetwork model, String name)
-
Method Summary
Modifier and Type Method Description double
getOpenArrivalRate()
void
setOpenArrivalRate(double openArrivalRate)
Entry
on(Task newParent)
-
-
Constructor Detail
-
Entry
Entry(LayeredNetwork model, String name)
-
-
Method Detail
-
getOpenArrivalRate
double getOpenArrivalRate()
-
setOpenArrivalRate
void setOpenArrivalRate(double openArrivalRate)
-
-
-
-