public DataOutputX writeText(String s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.getBytes("UTF8")); } return this; }
public DataOutputX writeText(StringBuffer s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.toString().getBytes("UTF8")); } return this; }
public DataOutputX writeText(String s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.getBytes("UTF8")); } return this; }
public DataOutputX writeText(StringBuffer s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.toString().getBytes("UTF8")); } return this; }
public DataOutputX writeText(String s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.getBytes("UTF8")); } return this; }
public DataOutputX writeValue(Value value) throws IOException { if (value == null) value = NullValue.value; this.writeByte(value.getValueType()); value.write(this); return this; }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
public DataOutputX writeStep(Step step) throws IOException { this.writeByte(step.getStepType()); step.write(this); return this; }
public DataOutputX writeValue(Value value) throws IOException { if (value == null) value = NullValue.value; this.writeByte(value.getValueType()); value.write(this); return this; }
public static void writeDirect(DataOutputX dout, byte packType, String _xtype, int _hash, String _text) throws IOException { dout.writeByte(packType); dout.writeText(_xtype); dout.writeInt(_hash); dout.writeText(_text); }
public static void writeDirect(DataOutputX dout, byte packType, String _xtype, int _hash, String _text) throws IOException { dout.writeByte(packType); dout.writeText(_xtype); dout.writeInt(_hash); dout.writeText(_text); }
public void write(DataOutputX dout) throws IOException { dout.writeLong(time); dout.writeText(objName); dout.writeByte(timetype); dout.writeValue(data); }
public static void writeDirect(DataOutputX dout, byte packType, String _xtype, int _hash, String _text) throws IOException { dout.writeByte(packType); dout.writeText(_xtype); dout.writeInt(_hash); dout.writeText(_text); }
public byte[] getBytesKey() { try { DataOutputX out = new DataOutputX(); out.writeInt(objHash); out.writeText(counter); out.writeByte(timetype); return out.toByteArray(); } catch (Exception e) { throw new RuntimeException(e); } }
public byte[] getBytesKey() { try { DataOutputX out = new DataOutputX(); out.writeInt(objHash); out.writeText(counter); out.writeByte(timetype); return out.toByteArray(); } catch (Exception e) { throw new RuntimeException(e); } }
public void write(DataOutputX o) throws IOException { o.writeDecimal(time); o.writeInt(objHash); o.writeText(objType); o.writeByte(stype); o.writeValue(table); }
public void write(DataOutputX o) throws IOException { o.writeDecimal(time); o.writeInt(objHash); o.writeText(objType); o.writeByte(stype); o.writeValue(table); }
public void write(DataOutputX dout) throws IOException { dout.writeLong(time); dout.writeByte(level); dout.writeText(objType); dout.writeInt(objHash); dout.writeText(title); dout.writeText(message); dout.writeValue(tags); }
public void write(DataOutputX out) throws IOException { out.writeText(objType); out.writeLong(checkInterval); out.writeText(title); out.writeByte(level); out.writeText(condition); out.writeText(message); out.writeLong(lastCheckTime); out.writeBoolean(enabled); }