Package omero.grid

Class _SharedResourcesDisp

  • All Implemented Interfaces:
    Ice.Object, java.io.Serializable, java.lang.Cloneable, _SharedResourcesOperations, _SharedResourcesOperationsNC, SharedResources
    Direct Known Subclasses:
    _SharedResourcesTie

    public abstract class _SharedResourcesDisp
    extends Ice.ObjectImpl
    implements SharedResources
    Resource manager provided by each Blitz session for acquiring shared resources in the OmeroGrid. Unlike the other services provided by ServiceFactory instances, it is not guaranteed that a service instance returned from this interface will be returned if that resource happens to be busy. In that case, a null will be returned.
    See Also:
    Serialized Form
    • Field Detail

      • __ids

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

      • _SharedResourcesDisp

        public _SharedResourcesDisp()
    • 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()
      • areTablesEnabled

        public final boolean areTablesEnabled()
                                       throws ServerError
        Returns true if a Tables service is active in the grid. If this value is false, then all calls to #ewTable or openTable will either fail or return null (possibly blocking while waiting for a service to startup)
        Specified by:
        areTablesEnabled in interface _SharedResourcesOperationsNC
        Throws:
        ServerError
      • newTable

        public final TablePrx newTable​(long repoId,
                                       java.lang.String path)
                                throws ServerError
        Creates a new Format(""OMERO.tables"") file at the given path on the given repository. The returned Table proxy follows the same semantics as the openTable method.
        Specified by:
        newTable in interface _SharedResourcesOperationsNC
        Throws:
        ServerError
      • openTable

        public final TablePrx openTable​(OriginalFile file)
                                 throws ServerError
        Returns a Table instance or null. Table instances are not exclusively owned by the client and may throw an OptimisticLockException if background modifications take place. The file instance must be managed (i.e. have a non-null id) and be of the format ""OMERO.tables"". Use newTable() to create a new instance.
        Specified by:
        openTable in interface _SharedResourcesOperationsNC
        Throws:
        ServerError
      • ___acquireProcessor

        public static Ice.DispatchStatus ___acquireProcessor​(SharedResources __obj,
                                                             IceInternal.Incoming __inS,
                                                             Ice.Current __current)
      • ___addProcessor

        public static Ice.DispatchStatus ___addProcessor​(SharedResources __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___removeProcessor

        public static Ice.DispatchStatus ___removeProcessor​(SharedResources __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___repositories

        public static Ice.DispatchStatus ___repositories​(SharedResources __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___getScriptRepository

        public static Ice.DispatchStatus ___getScriptRepository​(SharedResources __obj,
                                                                IceInternal.Incoming __inS,
                                                                Ice.Current __current)
      • ___areTablesEnabled

        public static Ice.DispatchStatus ___areTablesEnabled​(SharedResources __obj,
                                                             IceInternal.Incoming __inS,
                                                             Ice.Current __current)
      • ___newTable

        public static Ice.DispatchStatus ___newTable​(SharedResources __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___openTable

        public static Ice.DispatchStatus ___openTable​(SharedResources __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