@ Override public void write ( ByteBuffer buffer ) { // if (obj instanceof Persistable) // ((Persistable) obj).write(buffer); // else { if ( obj != null ) buffer . put ( getSerialized ( ) ) ; tmpBuffer = null ; // } }
This method is not thread safe!