- waitFor(int) - Method in class ej.sp.ShieldedPlug
-
Causes current thread to wait until another thread write data into the block with the given ID.
If data has been written in the block since last read, this method returns immediately.
- waitFor(int[]) - Method in class ej.sp.ShieldedPlug
-
Causes current thread to wait until another thread write data into at least one block from the blocks with the
given IDs.
If data has been written in one block since last read from it, this method returns immediately.
- write(int, byte[]) - Method in class ej.sp.ShieldedPlug
-
Writes block length bytes from the specified byte array to the block with the given ID.
The write(blockID, data)
method has the same effect as:
- write(int, byte[], int) - Method in class ej.sp.ShieldedPlug
-
Writes block length bytes from the specified byte array to the block with the given ID.
Element data[destOffset]
is the first byte written to the block.
- writeDouble(int, double) - Method in class ej.sp.ShieldedPlug
-
Writes a double
value, which is comprised of eight bytes, to the block with the given ID.
The way the double
is written from the eight bytes is platform dependent.
- writeFloat(int, float) - Method in class ej.sp.ShieldedPlug
-
Writes a float
value, which is comprised of four bytes, to the block with the given ID.
The way the float
is written from the four bytes is platform dependent.
- writeInt(int, int) - Method in class ej.sp.ShieldedPlug
-
Writes an int
value, which is comprised of four bytes, to the block with the given ID.
The way the int
is written from the four bytes is platform dependent.
- writeLong(int, long) - Method in class ej.sp.ShieldedPlug
-
Writes a long
value, which is comprised of eight bytes, to the block with the given ID.
The way the long
is written from the eight bytes is platform dependent.
- writeObject(int, Object) - Method in class ej.sp.ShieldedPlug
-
Invokes the
writeObject
method of the
SPWriter
registered for the block with the given ID.
- writeObject(ShieldedPlug, int, Object) - Method in interface ej.sp.SPWriter
-