Examples of StringUtilBuffer


Examples of org.jboss.serial.util.StringUtilBuffer

    }

    public void doTestJBossMarhsalledValueOverSerializationLocal(Object myTest) throws Exception
    {
        StringUtilBuffer buffer = new StringUtilBuffer(10*1024,10*1024);

        for (int exec=0;exec<MAX_LOOP;exec++)
        {
          MarshalledObjectForLocalCalls marshall = new MarshalledObjectForLocalCalls(myTest);
           
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

    {
        long original = 0;

        HashMap metaData = new HashMap();
        metaData.put("method","doTtestJbossSerializationMeasure");
        StringUtilBuffer buffer = new StringUtilBuffer(10*1024,10*1024);

        for (int exec=0;exec<LOOPS;exec++)
        {
            if (exec==1)
            {
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

        long original = 0;

        HashMap metaData = new HashMap();
        metaData.put("method","doTestJbossSerializationUsingByteArrayMeasure");

        StringUtilBuffer buffer = new StringUtilBuffer(10*1024,10*1024);

        ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
        for (int exec=0;exec<LOOPS;exec++)
        {
            if (exec==1)
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

        long original = 0;

        HashMap metaData = new HashMap();
        metaData.put("method","doTestJbossSerializationIndirect");

        StringUtilBuffer buffer = new StringUtilBuffer(10*1024,10*1024);

        ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
        for (int exec=0;exec<LOOPS;exec++)
        {
            if (exec==1)
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

    }

  }

  public void doTestJBossSerialization(Object myTest) throws Exception {
    StringUtilBuffer buffer = new StringUtilBuffer(10 * 1024, 10 * 1024);

    long startTime=0;
    byte[] byteArray=null;
    for (int exec = 0; exec < MAX_LOOP; exec++) {
      byteOut.reset();
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

  public void testIsoCronologyOnJBoss() throws Exception
  {
    try
    {
      Object myTest = ISOChronology.getInstance();
          StringUtilBuffer buffer = new StringUtilBuffer(10*1024,10*1024);
 
          ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
          byteOut.reset();
 
          JBossObjectOutputStream out = new JBossObjectOutputStream(byteOut,buffer);
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

  public void testIsoCronologyOnJava() throws Exception
  {
    try
    {
      Object myTest = ISOChronology.getInstance();
          StringUtilBuffer buffer = new StringUtilBuffer(10*1024,10*1024);
 
          ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
          byteOut.reset();
 
          ObjectOutputStream out = new ObjectOutputStream(byteOut);
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

/*  52 */   private static boolean trace = log.isTraceEnabled();
/*     */
/*     */   public ObjectInputStream createInput(InputStream input, ClassLoader loader) throws IOException
/*     */   {
/*  56 */     if (trace) log.trace(this + " creating JBossObjectInputStream");
/*  57 */     return new JBossObjectInputStream(input, loader, new StringUtilBuffer(10024, 10024));
/*     */   }
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

/*     */   }
/*     */
/*     */   public ObjectOutputStream createOutput(OutputStream output) throws IOException
/*     */   {
/*  62 */     if (trace) log.trace(this + " creating JBossObjectOutputStream");
/*  63 */     return new JBossObjectOutputStream(output, new StringUtilBuffer(10024, 10024));
/*     */   }
View Full Code Here

Examples of org.jboss.serial.util.StringUtilBuffer

   {
      if (log.isTraceEnabled())
      {
         log.trace("Creating JBossObjectInputStream");
      }
      return new JBossObjectInputStream(input, loader, new StringUtilBuffer(10024, 10024));
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.