The createReleaseParameters Method

Release parameters include fields like period, deadline, and cost. In the async event world, period is a characteristic of an async event, cost is related to each event handler, and deadline is shared between the event and the handler. The createReleaseParameters method on the AsyncEvent class is an aid to programmers. It constructs a new ReleaseParameters object (subclass, depending on the characteristics of the async event), fills in the values it knows, and inserts pessimistic values for things it does not know. The application should set values it knows before using this release parameters object for an async event handler.

Get Real-Time Java™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.