- java.lang.Object
-
- org.praxislive.code.AbstractAsyncProperty<V>
-
- org.praxislive.code.ResourceProperty<V>
-
- All Implemented Interfaces:
Control
public final class ResourceProperty<V> extends AbstractAsyncProperty<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceProperty.Descriptor<V>
static class
ResourceProperty.Loader<V>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TaskService.Task
createTask(Value key)
static ResourceProperty.Loader<String>
getStringLoader()
protected void
taskError(long time, PError error)
protected void
valueChanged(long time)
-
Methods inherited from class org.praxislive.code.AbstractAsyncProperty
attach, call, getKey, getValue, portInvoke
-
-
-
-
Method Detail
-
createTask
protected TaskService.Task createTask(Value key) throws Exception
- Specified by:
createTask
in classAbstractAsyncProperty<V>
- Throws:
Exception
-
valueChanged
protected void valueChanged(long time)
- Overrides:
valueChanged
in classAbstractAsyncProperty<V>
-
taskError
protected void taskError(long time, PError error)
- Overrides:
taskError
in classAbstractAsyncProperty<V>
-
getStringLoader
public static ResourceProperty.Loader<String> getStringLoader()
-
-