Package org.apache.synapse.registry
Interface RegistryEntry
-
- All Known Implementing Classes:
RegistryEntryImpl,TestMediationRegistryEntryImpl
public interface RegistryEntryThis 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 longgetCachableDuration()The number of milliseconds this resource could be cachedlonggetCreated()The created time for the resource - optionalStringgetDescription()A description for the resource - optionalStringgetKey()The key for the resource - requiredlonggetLastModified()The last updated time for the resource - optionalStringgetName()A name for the resource - optionalStringgetType()The type of the resource - optionallonggetVersion()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
-
-