Package org.apache.synapse.registry
Interface RegistryEntry
-
- All Known Implementing Classes:
RegistryEntryImpl
,TestMediationRegistryEntryImpl
public interface RegistryEntry
This interface defines the core information to be returned by a Registry implementation about a resource being managed by it. Every Registry implementation *must* provide valid information for the methods marked below as 'required'
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCachableDuration()
The number of milliseconds this resource could be cachedlong
getCreated()
The created time for the resource - optionalString
getDescription()
A description for the resource - optionalString
getKey()
The key for the resource - requiredlong
getLastModified()
The last updated time for the resource - optionalString
getName()
A name for the resource - optionalString
getType()
The type of the resource - optionallong
getVersion()
The version of the resource - required
-
-
-
Method Detail
-
getKey
String getKey()
The key for the resource - required
-
getName
String getName()
A name for the resource - optional
-
getVersion
long getVersion()
The version of the resource - required
-
getType
String getType()
The type of the resource - optional
-
getDescription
String getDescription()
A description for the resource - optional
-
getCreated
long getCreated()
The created time for the resource - optional
-
getLastModified
long getLastModified()
The last updated time for the resource - optional
-
getCachableDuration
long getCachableDuration()
The number of milliseconds this resource could be cached
-
-