|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.AbstractStatefulBean
ome.services.RawPixelsBean
@Transactional(readOnly=true) public class RawPixelsBean
Implementation of the RawPixelsStore stateful service.
Field Summary |
---|
Fields inherited from class ome.services.AbstractStatefulBean |
---|
iQuery, iUpdate, modified, sec |
Constructor Summary | |
---|---|
RawPixelsBean()
default constructor |
|
RawPixelsBean(boolean checking)
overriden to allow Spring to set boolean |
Method Summary | |
---|---|
void |
activate()
Completely restore this service for active use from whatever passivation it has implemented. |
byte[] |
calculateMessageDigest()
|
void |
close()
signals the end of the service lifecycle. |
int |
getByteWidth()
|
byte[] |
getCol(int arg0,
int arg1,
int arg2,
int arg3)
|
long |
getPixelsId()
Returns the current Pixels set identifier. |
byte[] |
getPlane(int arg0,
int arg1,
int arg2)
|
long |
getPlaneOffset(int arg0,
int arg1,
int arg2)
|
byte[] |
getPlaneRegion(int z,
int c,
int t,
int count,
int offset)
|
int |
getPlaneSize()
delegates to PixelBuffer |
byte[] |
getRegion(int arg0,
long arg1)
|
byte[] |
getRow(int arg0,
int arg1,
int arg2,
int arg3)
|
long |
getRowOffset(int arg0,
int arg1,
int arg2,
int arg3)
|
int |
getRowSize()
|
Class<? extends ServiceInterface> |
getServiceInterface()
|
byte[] |
getStack(int arg0,
int arg1)
|
long |
getStackOffset(int arg0,
int arg1)
|
int |
getStackSize()
|
byte[] |
getTimepoint(int arg0)
|
long |
getTimepointOffset(int arg0)
|
int |
getTimepointSize()
|
int |
getTotalSize()
|
boolean |
isDiskSpaceChecking()
|
boolean |
isFloat()
|
boolean |
isSigned()
|
void |
passivate()
Perform whatever passivation is possible or throw an exception. |
void |
prepare(Set<Long> pixelsIds)
Prepares the stateful service with a cache of loaded Pixels objects. |
void |
setDiskSpaceChecking(boolean diskSpaceChecking)
|
void |
setIRepositoryInfo(IRepositoryInfo iRepositoryInfo)
Disk Space Usage service Bean injector |
void |
setPixelsData(PixelsService dataService)
|
void |
setPixelsId(long pixelsId,
boolean bypassOriginalFile)
Initializes the stateful service for a given Pixels set. |
void |
setPixelsMetadata(IPixels metaService)
|
void |
setPlane(byte[] arg0,
int arg1,
int arg2,
int arg3)
|
void |
setRegion(int arg0,
long arg1,
byte[] arg2)
|
void |
setRow(byte[] arg0,
int arg1,
int arg2,
int arg3,
int arg4)
|
void |
setStack(byte[] arg0,
int arg1,
int arg2,
int arg3)
|
void |
setTimepoint(byte[] arg0,
int arg1)
|
Methods inherited from class ome.services.AbstractStatefulBean |
---|
getBeanHelper, getCurrentEventContext, isModified, modified, selfConfigure, setQueryService, setSecuritySystem, setUpdateService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ome.api.StatefulServiceInterface |
---|
getCurrentEventContext |
Constructor Detail |
---|
public RawPixelsBean()
public RawPixelsBean(boolean checking)
checking
- Method Detail |
---|
public Class<? extends ServiceInterface> getServiceInterface()
getServiceInterface
in interface SelfConfigurableService
public final void setPixelsMetadata(IPixels metaService)
public final void setPixelsData(PixelsService dataService)
public final void setIRepositoryInfo(IRepositoryInfo iRepositoryInfo)
iRepositoryInfo
- an IRepositoryInfo
@Transactional(readOnly=true) public void passivate()
StatefulServiceInterface
passivate
in interface StatefulServiceInterface
@Transactional(readOnly=true) public void activate()
StatefulServiceInterface
activate
in interface StatefulServiceInterface
@Transactional(readOnly=true) public void close()
StatefulServiceInterface
close
in interface StatefulServiceInterface
public void setPixelsId(long pixelsId, boolean bypassOriginalFile)
RawPixelsStore
setPixelsId
in interface RawPixelsStore
pixelsId
- Pixels set identifier.bypassOriginalFile
- Whether or not to bypass checking for an
original file to back the pixel buffer used by this service. If requests
are predominantly write-only
or involve the population of
a brand new pixel buffer using true
here is a safe
optimization otherwise false
is expected.public long getPixelsId()
RawPixelsStore
getPixelsId
in interface RawPixelsStore
public void prepare(Set<Long> pixelsIds)
RawPixelsStore
prepare
in interface RawPixelsStore
pixelsIds
- Pixels IDs to cache.public byte[] calculateMessageDigest()
calculateMessageDigest
in interface RawPixelsStore
public byte[] getPlaneRegion(int z, int c, int t, int count, int offset)
getPlaneRegion
in interface RawPixelsStore
public byte[] getPlane(int arg0, int arg1, int arg2)
getPlane
in interface RawPixelsStore
public long getPlaneOffset(int arg0, int arg1, int arg2)
getPlaneOffset
in interface RawPixelsStore
public int getPlaneSize()
RawPixelsStore
PixelBuffer
getPlaneSize
in interface RawPixelsStore
PixelBuffer.getPlaneSize()
public byte[] getRegion(int arg0, long arg1)
getRegion
in interface RawPixelsStore
public byte[] getRow(int arg0, int arg1, int arg2, int arg3)
getRow
in interface RawPixelsStore
public byte[] getCol(int arg0, int arg1, int arg2, int arg3)
getCol
in interface RawPixelsStore
public long getRowOffset(int arg0, int arg1, int arg2, int arg3)
getRowOffset
in interface RawPixelsStore
public int getRowSize()
getRowSize
in interface RawPixelsStore
public byte[] getStack(int arg0, int arg1)
getStack
in interface RawPixelsStore
public long getStackOffset(int arg0, int arg1)
getStackOffset
in interface RawPixelsStore
public int getStackSize()
getStackSize
in interface RawPixelsStore
public byte[] getTimepoint(int arg0)
getTimepoint
in interface RawPixelsStore
public long getTimepointOffset(int arg0)
getTimepointOffset
in interface RawPixelsStore
public int getTimepointSize()
getTimepointSize
in interface RawPixelsStore
public int getTotalSize()
getTotalSize
in interface RawPixelsStore
public int getByteWidth()
getByteWidth
in interface RawPixelsStore
public boolean isSigned()
isSigned
in interface RawPixelsStore
public boolean isFloat()
isFloat
in interface RawPixelsStore
public void setPlane(byte[] arg0, int arg1, int arg2, int arg3)
setPlane
in interface RawPixelsStore
public void setRegion(int arg0, long arg1, byte[] arg2)
setRegion
in interface RawPixelsStore
public void setRow(byte[] arg0, int arg1, int arg2, int arg3, int arg4)
setRow
in interface RawPixelsStore
public void setStack(byte[] arg0, int arg1, int arg2, int arg3)
setStack
in interface RawPixelsStore
public void setTimepoint(byte[] arg0, int arg1)
setTimepoint
in interface RawPixelsStore
public boolean isDiskSpaceChecking()
public void setDiskSpaceChecking(boolean diskSpaceChecking)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.