|
Jamaica 6.4 release 1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RawMemoryRegionFactory
A template for creating a factory implementation of a specific raw
raw memory region. The application can implement this to add support
for new regions to RawMemoryFactory. Implementations of this
clas can be registered there.
| Method Summary | |
|---|---|
RawByte |
createRawByte(long base,
int count,
int stride)
Create an instance of a class that implements RawByte and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawByteReader |
createRawByteReader(long base,
int count,
int stride)
Create an instance of a class that implements RawByteReader and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawByteWriter |
createRawByteWriter(long base,
int count,
int stride)
Create an instance of a class that implements RawByteWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawDouble |
createRawDouble(long base,
int count,
int stride)
Create an instance of a class that implements RawDouble and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawDoubleReader |
createRawDoubleReader(long base,
int count,
int stride)
Create an instance of a class that implements RawDoubleReader and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawDoubleWriter |
createRawDoubleWriter(long base,
int count,
int stride)
Create an instance of a class that implements RawDoubleWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawFloat |
createRawFloat(long base,
int count,
int stride)
Create an instance of a class that implements RawFloat and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawFloatReader |
createRawFloatReader(long base,
int count,
int stride)
Create an instance of a class that implements RawFloatReader and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawFloatWriter |
createRawFloatWriter(long base,
int count,
int stride)
Create an instance of a class that implements RawFloatWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawInt |
createRawInt(long base,
int count,
int stride)
Create an instance of a class that implements RawInt and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawIntReader |
createRawIntReader(long base,
int count,
int stride)
Create an instance of a class that implements RawIntReader and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawIntWriter |
createRawIntWriter(long base,
int count,
int stride)
Create an instance of a class that implements RawIntWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawLong |
createRawLong(long base,
int count,
int stride)
Create an instance of a class that implements RawLong and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawLongReader |
createRawLongReader(long base,
int count,
int stride)
Create an instance of a class that implements RawLongReader and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawLongWriter |
createRawLongWriter(long base,
int count,
int stride)
Create an instance of a class that implements RawLongWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawShort |
createRawShort(long base,
int count,
int stride)
Create an instance of a class that implements RawShort and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawShortReader |
createRawShortReader(long base,
int count,
int stride)
Create an instance of a class that implements RawShortReader and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawShortWriter |
createRawShortWriter(long base,
int count,
int stride)
Create an instance of a class that implements RawShortWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count. |
RawMemoryRegion |
getRegion()
Get the region for which this factory creates raw memory objects. |
| Method Detail |
|---|
RawMemoryRegion getRegion()
RawByte createRawByte(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawByte and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of byte ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawByte and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawByteReader createRawByteReader(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawByteReader and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of byte ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawByteReader and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawByteWriter createRawByteWriter(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawByteWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of byte ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawByteWriter and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawShort createRawShort(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawShort and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of short ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawShort and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawShortReader createRawShortReader(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawShortReader and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of short ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawShortReader and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawShortWriter createRawShortWriter(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawShortWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of short ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawShortWriter and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawInt createRawInt(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawInt and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of int ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawInt and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawIntReader createRawIntReader(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawIntReader and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of int ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawIntReader and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawIntWriter createRawIntWriter(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawIntWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of int ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawIntWriter and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawLong createRawLong(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawLong and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of long ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawLong and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawLongReader createRawLongReader(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawLongReader and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of long ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawLongReader and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawLongWriter createRawLongWriter(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawLongWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of long ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawLongWriter and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawFloat createRawFloat(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawFloat and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of float ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawFloat and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawFloatReader createRawFloatReader(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawFloatReader and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of float ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawFloatReader and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawFloatWriter createRawFloatWriter(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawFloatWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of float ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawFloatWriter and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawDouble createRawDouble(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawDouble and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of double ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawDouble and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawDoubleReader createRawDoubleReader(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawDoubleReader and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of double ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawDoubleReader and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
RawDoubleWriter createRawDoubleWriter(long base,
int count,
int stride)
throws SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedRawMemoryRegionException,
MemoryTypeConflictException
RawDoubleWriter and
accesses memory of getRegion() in the address range described by
base, stride, and count.
The actual extent of the memory addressed by the object is
(stride - 1) × size of double ×
count. The object is allocated in the current memory area
of the calling thread.
base - The starting physical address accessible through the
returned instance.count - The number of memory elements accessible through the
returned instance.stride - The distance to the next element in mulitple of element count.
RawDoubleWriter and supports access to
the specified range in the memory region.
IllegalArgumentException - when base is negative, or count is
not greater than zero.
SecurityException - when the caller does not have
permissions to access the given memory region or the
specified range of addresses.
OffsetOutOfBoundsException - when base is invalid.
SizeOutOfBoundsException - when the memory addressed by the object
would extend into an invalid range of memory.
MemoryTypeConflictException - when base does
not point to memory that matches the type served by this
factory.
UnsupportedRawMemoryRegionException
|
Jamaica 6.4 release 1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||