Package org.jboss.serial.util

Examples of org.jboss.serial.util.StringUtilBuffer$Position


    }

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

        for (int exec=0;exec<MAX_LOOP;exec++)
        {
          byteOut.reset();
          MarshalledObject obj = new MarshalledObject(myTest);
View Full Code Here


    }

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

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

    }

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

        for (int exec=0;exec<MAX_LOOP;exec++)
        {
          MarshalledObjectForLocalCalls obj = new MarshalledObjectForLocalCalls(myTest);
            Object value = obj.get();
View Full Code Here

    }

    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

    {
        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

        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

        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

    }

  }

  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

  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

  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

TOP

Related Classes of org.jboss.serial.util.StringUtilBuffer$Position

Copyright © 2018 www.massapicom. 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.