Notification if a new translog file has been created or an old one has been closed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Notification if a new translog file has been created or an old one has been closed

GLASS mailing list

Is there any way to get notified, if a new translogs file has been opened (or better an old translog file has been closed) ?


Marten


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Notification if a new translog file has been created or an old one has been closed

GLASS mailing list
You can get the current tranlog id (a SmallInteger) using this code:

    System stoneCacheStatisticWithName: 'TranlogFileId' .

which could be polled and action taken when the value increases.

What type of notification would be useful?

Norm



On 2/7/2018 1:17 PM, Marten Feldtmann via Glass wrote:

Is there any way to get notified, if a new translogs file has been opened (or better an old translog file has been closed) ?


Marten



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Notification if a new translog file has been created or an old one has been closed

GLASS mailing list

I just would like to store a closed tranlog-file to a different location ...


Marten


Norm Green via Glass <[hidden email]> hat am 7. Februar 2018 um 22:33 geschrieben:

You can get the current tranlog id (a SmallInteger) using this code:

    System stoneCacheStatisticWithName: 'TranlogFileId' .

which could be polled and action taken when the value increases.

What type of notification would be useful?

Norm



On 2/7/2018 1:17 PM, Marten Feldtmann via Glass wrote:

Is there any way to get notified, if a new translogs file has been opened (or better an old translog file has been closed) ?


Marten



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


 
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

 
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass