hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Trivial Update of "DistributedLucene" by MarkButler
Date Mon, 14 Jan 2008 11:04:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by MarkButler:
http://wiki.apache.org/lucene-hadoop/DistributedLucene

------------------------------------------------------------------------------
  
  {{{
  public class IndexVersion implements Comparable<IndexVersion>, Writable, Constants
{
-   private String id;
-   private int version;
- 
-   public IndexVersion(String id);
+   public IndexVersion(String name);
    public IndexVersion nextVersion();
-   public String getId();
+   public String getName();
    public int getVersion();
  }
  }}}
  
  {{{
  public class IndexLocation implements Comparable<IndexLocation>, Writable {
-   private IndexVersion indexVersion;
-   private InetSocketAddress location;
-   private IndexState state;
- 
-   public IndexLocation(InetSocketAddress location, IndexVersion indexVersion, IndexState
state);
+   public IndexLocation(InetSocketAddress address, IndexVersion indexVersion, IndexState
state);
-   public IndexLocation(DataNodeConfiguration dncf, IndexVersion indexVersion, IndexState
state);
+   public IndexLocation nextVersion();
+   public InetSocketAddress getAddress();
    public IndexVersion getIndexVersion();
-   public InetSocketAddress getAddress();
    public IndexState getState();
    public void setState(IndexState state);
-   public IndexLocation newUncommittedVersion();
  }
  }}}
  
  {{{
  public class DataNodeStatusInformation implements Writable {
-   private long capacity;
-   private long capacityUsed;
-   private long capacityRemaining;
-   private DataNodeConfiguration dataconf;
- 
    public DataNodeStatusInformation();
    public InetSocketAddress getAddress();
    public String getRack() ;
@@ -51, +38 @@

  }}}
  
  {{{
- public class DataNodeConfiguration implements Writable, Constants {
+ public class DataNodeConfiguration implements Writable, Constants { 
-   private File rootDir;
-   private InetSocketAddress addr;
-   private String rack;
- 
    public DataNodeConfiguration(Configuration conf, String machineName, int port, String
rack);
-   public DataNodeConfiguration() throws IOException;
+   public DataNodeConfiguration();
    public File getRootDir();
    public InetSocketAddress getAddress();
    public String getRack();

Mime
View raw message