public interface Realtime
This interface identifies RTSJ safe
classes with predictable response time and supporting custom allocation
policies (e.g.
"stack"
allocations).
Instances of this class are typically created through an
It should be noted that classes with no static reference field
or with only static final ObjectFactory
. For example:
[code]
public final class Complex implements Realtime, ValueType {
private double _real;
private double _imaginary;
private static ObjectFactoryimmutable
fields are
always RTSJ safe. Such classes may implement this interface
and be used while running in scoped memory (RTSJ) or non-heap
allocators
(Javolution).
Modifier and Type | Method and Description |
---|---|
Text |
toText()
Returns the textual representation of this real-time object
(equivalent to
toString except that the returned value
can be "stack" allocated and
supports fast concatenation). |
Copyright © 2005–2018 Javolution. All rights reserved.