That would be a valid use case. :)
Edson
2011/2/7 Wolfgang Laun <wolfgang.laun(a)gmail.com>
@Edson: What about logging?
-W
2011/2/7 Edson Tirelli <ed.tirelli(a)gmail.com>:
>
> Usually you should not need to obtain the timestamp. What do you need
it
> for? Remember you can always use temporal operators directly on events,
no
> need to access the timestamp. Example:
> $that : Event1(
> Event2( this after $that )
> Edson
>
> 2011/2/7 Wolfgang Laun <wolfgang.laun(a)gmail.com>
>>
>> An insert call returns a fact handle . If this is of the class
>> org.drools.common.EventFactHandle you can call getStartTimestamp() and
>> other getters.
>>
>> This is not part of the stable API.
>>
>> .W
>>
>> On 7 February 2011 15:10, OlliSee <o.roess(a)seeburger.de> wrote:
>> >
>> > Yeah..the topic subject explains itself, I presume :)
>> > --
>> > View this message in context:
>> >
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-obtain-the-tim...
>> > Sent from the Drools - User mailing list archive at
Nabble.com.
>> > _______________________________________________
>> > rules-users mailing list
>> > rules-users(a)lists.jboss.org
>> >
https://lists.jboss.org/mailman/listinfo/rules-users
>> >
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> --
> Edson Tirelli
> JBoss Drools Core Development
> JBoss by Red Hat @
www.jboss.com
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users