Package omero.api

Class _ThumbnailStoreTie

    • Constructor Detail

      • _ThumbnailStoreTie

        public _ThumbnailStoreTie()
    • Method Detail

      • ice_delegate

        public java.lang.Object ice_delegate()
        Specified by:
        ice_delegate in interface Ice.TieBase
      • ice_delegate

        public void ice_delegate​(java.lang.Object delegate)
        Specified by:
        ice_delegate in interface Ice.TieBase
      • equals

        public boolean equals​(java.lang.Object rhs)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • activate_async

        public void activate_async​(AMD_StatefulServiceInterface_activate __cb,
                                   Ice.Current __current)
                            throws ServerError
        Description copied from interface: _StatefulServiceInterfaceOperations
        Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.
        Specified by:
        activate_async in interface _StatefulServiceInterfaceOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • close_async

        public void close_async​(AMD_StatefulServiceInterface_close __cb,
                                Ice.Current __current)
                         throws ServerError
        Description copied from interface: _StatefulServiceInterfaceOperations
        Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.
        Specified by:
        close_async in interface _StatefulServiceInterfaceOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • passivate_async

        public void passivate_async​(AMD_StatefulServiceInterface_passivate __cb,
                                    Ice.Current __current)
                             throws ServerError
        Description copied from interface: _StatefulServiceInterfaceOperations
        Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.
        Specified by:
        passivate_async in interface _StatefulServiceInterfaceOperations
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • createThumbnail_async

        public void createThumbnail_async​(AMD_ThumbnailStore_createThumbnail __cb,
                                          RInt sizeX,
                                          RInt sizeY,
                                          Ice.Current __current)
                                   throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Creates a thumbnail for a pixels set using a given set of rendering settings (RenderingDef) in the on-disk cache.
        Specified by:
        createThumbnail_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        sizeX - the X-axis width of the thumbnail. null specifies the default size of 48.
        sizeY - the Y-axis width of the thumbnail. null specifies the default size of 48.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • createThumbnailsByLongestSideSet_async

        public void createThumbnailsByLongestSideSet_async​(AMD_ThumbnailStore_createThumbnailsByLongestSideSet __cb,
                                                           RInt size,
                                                           java.util.List<java.lang.Long> pixelsIds,
                                                           Ice.Current __current)
                                                    throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Creates thumbnails for a number of pixels sets using a given set of rendering settings (RenderingDef) in the on-disk cache. Unlike the other thumbnail creation methods, this method may be called without first calling setPixelsId. This method will not reset or modify rendering settings in any way. If rendering settings for a pixels set are not present, thumbnail creation for that pixels set will not be performed.
        Specified by:
        createThumbnailsByLongestSideSet_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        size - the size of the longest side of the thumbnail requested. null specifies the default size of 48.
        pixelsIds - the Pixels sets to retrieve thumbnails for.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnail_async

        public void getThumbnail_async​(AMD_ThumbnailStore_getThumbnail __cb,
                                       RInt sizeX,
                                       RInt sizeY,
                                       Ice.Current __current)
                                throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). If the thumbnail exists in the on-disk cache it will be returned directly, otherwise it will be created as in getThumbnailDirect, placed in the on-disk cache and returned. If the thumbnail is missing, a clock will be returned to signify that the thumbnail is yet to be generated.
        Specified by:
        getThumbnail_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        sizeX - the X-axis width of the thumbnail. null specifies the default size of 48.
        sizeY - the Y-axis width of the thumbnail. null specifies the default size of 48.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailByLongestSide_async

        public void getThumbnailByLongestSide_async​(AMD_ThumbnailStore_getThumbnailByLongestSide __cb,
                                                    RInt size,
                                                    Ice.Current __current)
                                             throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). If the thumbnail exists in the on-disk cache it will be returned directly, otherwise it will be created as in getThumbnailDirect, placed in the on-disk cache and returned. The longest side of the image will be used to calculate the size for the smaller side in order to keep the aspect ratio of the original image.
        Specified by:
        getThumbnailByLongestSide_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        size - the size of the longest side of the thumbnail requested. null specifies the default size of 48.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailByLongestSideDirect_async

        public void getThumbnailByLongestSideDirect_async​(AMD_ThumbnailStore_getThumbnailByLongestSideDirect __cb,
                                                          RInt size,
                                                          Ice.Current __current)
                                                   throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). The Thumbnail will always be created directly, ignoring the on-disk cache. The longest side of the image will be used to calculate the size for the smaller side in order to keep the aspect ratio of the original image.
        Specified by:
        getThumbnailByLongestSideDirect_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        size - the size of the longest side of the thumbnail requested. null specifies the default size of 48.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailByLongestSideSet_async

        public void getThumbnailByLongestSideSet_async​(AMD_ThumbnailStore_getThumbnailByLongestSideSet __cb,
                                                       RInt size,
                                                       java.util.List<java.lang.Long> pixelsIds,
                                                       Ice.Current __current)
                                                throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a number of thumbnails for pixels sets using given sets of rendering settings (RenderingDef). If the Thumbnails exist in the on-disk cache they will be returned directly, otherwise they will be created as in getThumbnailByLongestSideDirect. The longest side of the image will be used to calculate the size for the smaller side in order to keep the aspect ratio of the original image. Unlike the other thumbnail retrieval methods, this method may be called without first calling setPixelsId.
        Specified by:
        getThumbnailByLongestSideSet_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        size - the size of the longest side of the thumbnail requested. null specifies the default size of 48.
        pixelsIds - the Pixels sets to retrieve thumbnails for.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailDirect_async

        public void getThumbnailDirect_async​(AMD_ThumbnailStore_getThumbnailDirect __cb,
                                             RInt sizeX,
                                             RInt sizeY,
                                             Ice.Current __current)
                                      throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). The Thumbnail will always be created directly, ignoring the on-disk cache.
        Specified by:
        getThumbnailDirect_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        sizeX - the X-axis width of the thumbnail. null specifies the default size of 48.
        sizeY - the Y-axis width of the thumbnail. null specifies the default size of 48.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailForSectionByLongestSideDirect_async

        public void getThumbnailForSectionByLongestSideDirect_async​(AMD_ThumbnailStore_getThumbnailForSectionByLongestSideDirect __cb,
                                                                    int theZ,
                                                                    int theT,
                                                                    RInt size,
                                                                    Ice.Current __current)
                                                             throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef) for a particular section. The Thumbnail will always be created directly, ignoring the on-disk cache. The longest side of the image will be used to calculate the size for the smaller side in order to keep the aspect ratio of the original image.
        Specified by:
        getThumbnailForSectionByLongestSideDirect_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        theZ - the optical section (offset across the Z-axis) to use.
        theT - the timepoint (offset across the T-axis) to use.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailForSectionDirect_async

        public void getThumbnailForSectionDirect_async​(AMD_ThumbnailStore_getThumbnailForSectionDirect __cb,
                                                       int theZ,
                                                       int theT,
                                                       RInt sizeX,
                                                       RInt sizeY,
                                                       Ice.Current __current)
                                                throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef) for a particular section. The Thumbnail will always be created directly, ignoring the on-disk cache.
        Specified by:
        getThumbnailForSectionDirect_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        theZ - the optical section (offset across the Z-axis) to use.
        theT - the timepoint (offset across the T-axis) to use.
        sizeY - the Y-axis width of the thumbnail. null specifies the default size of 48.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailSet_async

        public void getThumbnailSet_async​(AMD_ThumbnailStore_getThumbnailSet __cb,
                                          RInt sizeX,
                                          RInt sizeY,
                                          java.util.List<java.lang.Long> pixelsIds,
                                          Ice.Current __current)
                                   throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a number of thumbnails for pixels sets using given sets of rendering settings (RenderingDef). If the thumbnails exist in the on-disk cache they will be returned directly, otherwise they will be created as in getThumbnailDirect, placed in the on-disk cache and returned. Unlike the other thumbnail retrieval methods, this method may be called without first calling setPixelsId.
        Specified by:
        getThumbnailSet_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        sizeX - the X-axis width of the thumbnail. null specifies the default size of 48.
        sizeY - the Y-axis width of the thumbnail. null specifies the default size of 48.
        pixelsIds - the Pixels sets to retrieve thumbnails for.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getThumbnailWithoutDefault_async

        public void getThumbnailWithoutDefault_async​(AMD_ThumbnailStore_getThumbnailWithoutDefault __cb,
                                                     RInt sizeX,
                                                     RInt sizeY,
                                                     Ice.Current __current)
                                              throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). If the thumbnail exists in the on-disk cache it will be returned directly, otherwise it will be created as in getThumbnailDirect, placed in the on-disk cache and returned. If the thumbnail is still to be generated, an empty array will be returned.
        Specified by:
        getThumbnailWithoutDefault_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        sizeX - the X-axis width of the thumbnail. null specifies the default size of 48.
        sizeY - the Y-axis width of the thumbnail. null specifies the default size of 48.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • setRenderingDefId_async

        public void setRenderingDefId_async​(AMD_ThumbnailStore_setRenderingDefId __cb,
                                            long renderingDefId,
                                            Ice.Current __current)
                                     throws ServerError
        Description copied from interface: _ThumbnailStoreOperations
        This method manages the state of the service; it should be invoked directly after setPixelsId. If it is not invoked with a valid rendering definition ID before using the thumbnail accessor methods execution continues as if renderingDefId were set to null.
        Specified by:
        setRenderingDefId_async in interface _ThumbnailStoreOperations
        Parameters:
        __cb - The callback object for the operation.
        renderingDefId - an RenderingDef id. null specifies the user's currently active rendering settings to be used.
        __current - The Current object for the invocation.
        Throws:
        ServerError