Examples of autoregister()


Examples of org.archive.bdb.AutoKryo.autoregister()

        TestCase.assertEquals(crawlHost, o);
    }
   
    public void testKryoSerialization() throws Exception {
        AutoKryo kryo = new AutoKryo();
        kryo.autoregister(CrawlHost.class);

        InetAddress localhost = InetAddress.getLocalHost();
        CrawlHost crawlHost0 = new CrawlHost(localhost.getHostName());
        crawlHost0.setIP(localhost, 431243);
View Full Code Here

Examples of org.archive.bdb.AutoKryo.autoregister()

     * exploded into 450MB. See [HER-1912].
     * @throws IOException
     */
    public void testCompactSerialization() throws IOException {
        AutoKryo kryo = new AutoKryo();
        kryo.autoregister(Robotstxt.class);
       
        final String TEST_ROBOTS_TXT = "User-Agent:a\n" +
        "User-Agent:b\n" +
        "User-Agent:c\n" +
        "User-Agent:d\n" +
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.