com.thinkaurelius.titan.diskstorage.configuration.Configuration



API Populatity

1 Client projects

Project thinkaurelius/titan in file ...titan.hadoop.mapreduce.util.ElementPickerTest.java (2014-09-27)
@@ -1,6 +1,5 @@
 package com.thinkaurelius.titan.hadoop.mapreduce.util;
 
-import com.thinkaurelius.titan.diskstorage.configuration.Configuration;
 import com.thinkaurelius.titan.hadoop.*;
 
 import com.thinkaurelius.titan.hadoop.config.ModifiableHadoopConfiguration;
@@ -13,12 +12,12 @@ import java.util.Collection;
  */
 public class ElementPickerTest extends TestCase {
 
-    private FaunusTypeManager typeManager;
+    private FaunusSchemaManager typeManager;
 
     @Override
     public void setUp() throws Exception {
         super.setUp();
-        typeManager = FaunusTypeManager.getTypeManager(new ModifiableHadoopConfiguration());
+        typeManager = FaunusSchemaManager.getTypeManager(new ModifiableHadoopConfiguration());
         typeManager.setSchemaProvider(TestSchemaProvider.MULTIPLICITY);
         typeManager.clear();
     }
Project thinkaurelius/titan in file ...lius.titan.diskstorage.locking.AbstractLocker.java (2013-12-17)
@@ -4,6 +4,7 @@ import com.google.common.base.Preconditions;
 import com.thinkaurelius.titan.diskstorage.StaticBuffer;
 import com.thinkaurelius.titan.diskstorage.TemporaryStorageException;
 import com.thinkaurelius.titan.diskstorage.common.DistributedStoreManager;
+import com.thinkaurelius.titan.diskstorage.configuration.Configuration;
 import com.thinkaurelius.titan.diskstorage.keycolumnvalue.StoreTransaction;
 import com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLockStatus;
 import com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLocker;
@@ -100,12 +101,12 @@ public abstract class AbstractLocker<S extends LockStatus> implements Locker {
         protected Logger log;
 
         public Builder() {
-            this.rid = new StaticByteBuffer(DistributedStoreManager.getRid(new BaseConfiguration()));
+            this.rid = new StaticByteBuffer(DistributedStoreManager.getRid(Configuration.EMPTY));
             this.times = TimeUtility.INSTANCE;
             this.serializer = new ConsistentKeyLockerSerializer();
             this.llm = null; // redundant, but it preserves this constructor's overall pattern
             this.lockState = new LockerState<S>();
-            this.lockExpireNS = NANOSECONDS.convert(GraphDatabaseConfiguration.LOCK_EXPIRE_MS_DEFAULT, MILLISECONDS);
+            this.lockExpireNS = NANOSECONDS.convert(GraphDatabaseConfiguration.LOCK_EXPIRE.getDefaultValue(), MILLISECONDS);
             this.log = LoggerFactory.getLogger(AbstractLocker.class);
         }
 
Project thinkaurelius/titan in file ...com.thinkaurelius.titan.hadoop.FaunusEdgeTest.java (2014-09-27)
@@ -1,9 +1,7 @@
 package com.thinkaurelius.titan.hadoop;
 
-import com.thinkaurelius.titan.diskstorage.configuration.Configuration;
 import com.thinkaurelius.titan.graphdb.relations.RelationIdentifier;
 import com.thinkaurelius.titan.hadoop.config.ModifiableHadoopConfiguration;
-import com.thinkaurelius.titan.hadoop.mapreduce.util.EmptyConfiguration;
 import com.tinkerpop.blueprints.Direction;
 
 import junit.framework.TestCase;
@@ -19,12 +17,12 @@ import java.io.IOException;
  */
 public class FaunusEdgeTest extends TestCase {
 
-    private FaunusTypeManager typeManager;
+    private FaunusSchemaManager typeManager;
 
     @Override
     public void setUp() throws Exception {
         super.setUp();
-        typeManager = FaunusTypeManager.getTypeManager(new ModifiableHadoopConfiguration());
+        typeManager = FaunusSchemaManager.getTypeManager(new ModifiableHadoopConfiguration());
         typeManager.setSchemaProvider(TestSchemaProvider.MULTIPLICITY_ID);
         typeManager.clear();
     }