Package omero.api

Class _IRepositoryInfoDisp

  • All Implemented Interfaces:
    Ice.Object, java.io.Serializable, java.lang.Cloneable, _IRepositoryInfoOperations, _IRepositoryInfoOperationsNC, _ServiceInterfaceOperations, _ServiceInterfaceOperationsNC, IRepositoryInfo, ServiceInterface
    Direct Known Subclasses:
    _IRepositoryInfoTie

    public abstract class _IRepositoryInfoDisp
    extends Ice.ObjectImpl
    implements IRepositoryInfo
    Provides methods for obtaining information for server repository disk space allocation. Could be used generically to obtain usage information for any mount point, however, this interface is prepared for the API to provide methods to obtain usage info for the server filesystem containing the image uploads. For the OMERO server base this is /OMERO. For this implementation it could be anything e.g. /Data1. Methods that fail or cannot execute on the server will throw an InternalException. This would not be normal and would indicate some server or disk failure.
    See Also:
    Serialized Form
    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
    • Constructor Detail

      • _IRepositoryInfoDisp

        public _IRepositoryInfoDisp()
    • Method Detail

      • ice_copyStateFrom

        protected void ice_copyStateFrom​(Ice.Object __obj)
                                  throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_isA

        public boolean ice_isA​(java.lang.String s,
                               Ice.Current __current)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids()
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids​(Ice.Current __current)
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id()
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id​(Ice.Current __current)
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_staticId

        public static java.lang.String ice_staticId()
      • removeUnusedFiles_async

        public final void removeUnusedFiles_async​(AMD_IRepositoryInfo_removeUnusedFiles __cb)
                                           throws ServerError
        Removes all files from the server that do not have an OriginalFile complement in the database, all the Pixels that do not have a complement in the database and all the Thumbnail's that do not have a complement in the database.
        Specified by:
        removeUnusedFiles_async in interface _IRepositoryInfoOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ResourceError - If deletion fails.
        ServerError
      • ___getUsedSpaceInKilobytes

        public static Ice.DispatchStatus ___getUsedSpaceInKilobytes​(IRepositoryInfo __obj,
                                                                    IceInternal.Incoming __inS,
                                                                    Ice.Current __current)
      • ___getFreeSpaceInKilobytes

        public static Ice.DispatchStatus ___getFreeSpaceInKilobytes​(IRepositoryInfo __obj,
                                                                    IceInternal.Incoming __inS,
                                                                    Ice.Current __current)
      • ___getUsageFraction

        public static Ice.DispatchStatus ___getUsageFraction​(IRepositoryInfo __obj,
                                                             IceInternal.Incoming __inS,
                                                             Ice.Current __current)
      • ___sanityCheckRepository

        public static Ice.DispatchStatus ___sanityCheckRepository​(IRepositoryInfo __obj,
                                                                  IceInternal.Incoming __inS,
                                                                  Ice.Current __current)
      • ___removeUnusedFiles

        public static Ice.DispatchStatus ___removeUnusedFiles​(IRepositoryInfo __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • __dispatch

        public Ice.DispatchStatus __dispatch​(IceInternal.Incoming in,
                                             Ice.Current __current)
        Specified by:
        __dispatch in interface Ice.Object
        Overrides:
        __dispatch in class Ice.ObjectImpl
      • __writeImpl

        protected void __writeImpl​(IceInternal.BasicStream __os)
        Overrides:
        __writeImpl in class Ice.ObjectImpl
      • __readImpl

        protected void __readImpl​(IceInternal.BasicStream __is)
        Overrides:
        __readImpl in class Ice.ObjectImpl