Interface Storeable

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    SimpleMetadata

    public interface Storeable
    extends Serializable
    A Storeable is an interface that must be implemented by objects that are to be presisted in the backing store.
    Author:
    Mahesh.Kannan@Sun.Com
    • Method Detail

      • _storeable_getVersion

        long _storeable_getVersion()
        Get the version of this entry. -1 means that this entry has no version
        Returns:
        The version or null if this entry has no version
      • _storeable_setVersion

        void _storeable_setVersion​(long version)
      • _storeable_getLastAccessTime

        long _storeable_getLastAccessTime()
      • _storeable_setLastAccessTime

        void _storeable_setLastAccessTime​(long version)
      • _storeable_getMaxIdleTime

        long _storeable_getMaxIdleTime()
      • _storeable_setMaxIdleTime

        void _storeable_setMaxIdleTime​(long version)
      • _storeable_getAttributeNames

        String[] _storeable_getAttributeNames()
        Providers can cache this
        Returns:
        an array of attribute names
      • _storeable_getDirtyStatus

        boolean[] _storeable_getDirtyStatus()
        Providers can cache this
        Returns:
        A boolean array each representing the dirty status of the attribute whose name can be found at the same index in the array returned by _getAttributeNames()