|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jlab.coda.et.AttachmentLocal
This class defines an attachment to a station of an ET system for use by the
ET system itself and not the user. Attachments are used to keep track of
event ownership and as places to conveniently keep some statistics and other
information on the "getting" of events. Attachments can only be created by an
ET system's SystemCreate.attach(int) method.
| Field Summary | |
(package private) long |
eventsDump
Number of events dumped (recycled by returning to GRAND_CENTRAL station) by a user through the attachment. |
(package private) long |
eventsGet
Number of events gotten by a user from the attachment. |
(package private) long |
eventsMake
Number of new events gotten by a user from the attachment. |
(package private) long |
eventsPut
Number of events put by a user into the attachment. |
(package private) java.lang.String |
host
Name of the host the attachment is residing on. |
(package private) int |
id
Unique id number. |
(package private) int |
pid
Process id number for attachments written in C language. |
(package private) boolean |
sleepMode
Flag telling whether the attachment is currently in the sleep mode of getEvents or newEvents. |
(package private) StationLocal |
station
Station the attachment is associated with. |
(package private) boolean |
waiting
Flag telling whether the attachment is blocked waiting to read events from a station that has no events. |
(package private) boolean |
wakeUp
Flag telling the attachment blocked on a read to wake up or return. |
| Constructor Summary | |
(package private) |
AttachmentLocal()
Attachments are only created by an ET system's SystemCreate.attach(int) method. |
| Method Summary | |
int |
getId()
Gets the attachment id number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int id
int pid
java.lang.String host
StationLocal station
long eventsPut
long eventsGet
long eventsDump
long eventsMake
boolean waiting
volatile boolean sleepMode
volatile boolean wakeUp
| Constructor Detail |
AttachmentLocal()
SystemCreate.attach(int) method.
| Method Detail |
public int getId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||