Architecture Modeling - SPES 2020
Architecture Modeling - SPES 2020
Architecture Modeling - SPES 2020
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6.1.1.1.1.2<br />
Intervvals<br />
Intervalss<br />
describe the<br />
“chunk” of time betweeen<br />
two points s in time. The ese points inn<br />
time can ei ither be a<br />
event orr<br />
a timed value.<br />
In case of events thee<br />
first occurr rence of the startevent sstarts<br />
the inte erval and<br />
the first ooccurrence<br />
oof<br />
the endeve ent ends the interval:<br />
In case<br />
timers.<br />
[starteveent,<br />
endev vent]<br />
that timed vvalues<br />
are the<br />
boundaries<br />
for an in nterval there must be reeference<br />
poin nt for the<br />
whenever<br />
<strong>Architecture</strong> <strong>Modeling</strong><br />
Request occurs o Ressponse<br />
occ curs durin ng [0ms,500ms].<br />
The times iin<br />
the action part refer too<br />
the activati ion point of the t pattern thhrough<br />
the trigger. t In<br />
that sense it is not allow wed to use “nnot<br />
bound” times<br />
values in the triggeer.<br />
The only exception e<br />
where timed<br />
values are e allowed in the trigger are a “and then”<br />
statementts,<br />
where the e interval<br />
refers to thee<br />
occurrence e of the previious<br />
event.<br />
Open/CClosed<br />
inttervals<br />
The bracces<br />
for writing<br />
the interva als can be ussed<br />
to expres ss open and closed intervvals:<br />
[a,b] -> close ed, closed intterval<br />
]a,b[ -> open ned, opened interval<br />
Butt<br />
also the oth her combinattions<br />
are pos ssible:<br />
[a,b[ -> close ed, opened innterval<br />
]a,b] -> open ned, closed innterval<br />
Closed intervals<br />
ends<br />
indicate that<br />
the point iin<br />
time where e the event occurs o still beelongs<br />
to the e interval,<br />
open inteerval<br />
ends inndicate<br />
that the<br />
point in time<br />
at the ev vents represe enting the boorder<br />
does not<br />
belong<br />
to the intterval.<br />
The exact<br />
semanticss<br />
of open and d closed inteervals<br />
are de escribed by showing s the nneeded<br />
mod difications<br />
of the foollowing<br />
basic<br />
block that constrains tthree<br />
events s to occur in a given ordder<br />
without re espect to<br />
time; thiss<br />
generic kinnd<br />
of interval<br />
is denoted by “{..}”. This<br />
basic bloc ck is used too<br />
build complex<br />
event<br />
expressiion<br />
or whole patterns:<br />
118/ 156