<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.uva.cs.lobcder.resources;

import java.io.IOException;
import java.io.InputStream;
import java.net.UnknownHostException;

/**
 *
 * @author dvasunin
 */
public interface PDRI {

    public Long getStorageSiteId();
    
    public String getURI();
    
    public String getHost() throws UnknownHostException;
    
    public void delete() throws IOException;

    public InputStream getData() throws IOException;

    public void putData(InputStream data) throws IOException;

    public long getLength() throws IOException;
    
    public void reconnect() throws IOException;

    public Long getChecksum() throws IOException;
}<commit_msg>Changed PDRI interface . Added replicate method <commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.uva.cs.lobcder.resources;

import java.io.IOException;
import java.io.InputStream;
import java.net.UnknownHostException;

/**
 *
 * @author dvasunin
 */
public interface PDRI {

    public Long getStorageSiteId();
    
    public String getURI();
    
    public String getHost() throws UnknownHostException;
    
    public void delete() throws IOException;

    public InputStream getData() throws IOException;

    public void putData(InputStream data) throws IOException;

    public long getLength() throws IOException;
    
    public void reconnect() throws IOException;

    public Long getChecksum() throws IOException;
    
    public void replicate(PDRI source) throws IOException;
}
{'fraction_non_alphanumeric': 0.07951070336391437, 'fraction_numerical': 0.0, 'mean_word_length': 3.6742857142857144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7485370', 'n_tokens_mistral': 440, 'n_tokens_neox': 423, 'n_words': 152}