Results 1 to 2 of 2

Thread: How to get stream creation date

  1. #1

    Default How to get stream creation date

    I would like to keep track of the creation date and time of a stream on the server. Is there a way to get this from the Stream class?

    For example, I am creating a new stream using the following:

    Stream stream = Stream.createInstance(app, streamName);
    app.getProperties().setProperty(streamName, stream);
    I would like to then keep track of "stale" streams - meaning streams that have unintentionally remained on the server but need to be destroyed. Specifically, I would like to iterate through all stream objects on the server that are at least 2 weeks old and destroy them.


  2. #2


    You can use WMSProperties. Add a property on creation, then read it anytime.

    There are many examples for using WMSProperties in the forums

    I hope this helps.



Similar Threads

  1. Tuning guide stil up to date?
    By flyersa in forum Performance Tuning Discussion
    Replies: 6
    Last Post: 10-20-2011, 03:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts