mirror of
https://github.com/JHUAPL/AccumuloGraph.git
synced 2026-01-09 20:57:55 -05:00
Move cache items to their own package
This commit is contained in:
@@ -20,6 +20,8 @@ import java.util.Set;
|
||||
import com.tinkerpop.blueprints.Element;
|
||||
import com.tinkerpop.blueprints.util.StringFactory;
|
||||
|
||||
import edu.jhuapl.tinkerpop.cache.PropertyCache;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
|
||||
@@ -60,6 +60,7 @@ import com.tinkerpop.blueprints.util.DefaultGraphQuery;
|
||||
import com.tinkerpop.blueprints.util.ExceptionFactory;
|
||||
import com.tinkerpop.blueprints.util.StringFactory;
|
||||
|
||||
import edu.jhuapl.tinkerpop.cache.ElementCaches;
|
||||
import edu.jhuapl.tinkerpop.mutator.Mutators;
|
||||
import edu.jhuapl.tinkerpop.tables.EdgeTableWrapper;
|
||||
import edu.jhuapl.tinkerpop.tables.VertexTableWrapper;
|
||||
|
||||
@@ -21,6 +21,7 @@ import com.tinkerpop.blueprints.Edge;
|
||||
import com.tinkerpop.blueprints.Element;
|
||||
import com.tinkerpop.blueprints.Vertex;
|
||||
|
||||
import edu.jhuapl.tinkerpop.cache.ElementCaches;
|
||||
import edu.jhuapl.tinkerpop.tables.EdgeTableWrapper;
|
||||
import edu.jhuapl.tinkerpop.tables.ElementTableWrapper;
|
||||
import edu.jhuapl.tinkerpop.tables.VertexTableWrapper;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package edu.jhuapl.tinkerpop;
|
||||
package edu.jhuapl.tinkerpop.cache;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
@@ -12,12 +12,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package edu.jhuapl.tinkerpop;
|
||||
package edu.jhuapl.tinkerpop.cache;
|
||||
|
||||
import com.tinkerpop.blueprints.Edge;
|
||||
import com.tinkerpop.blueprints.Element;
|
||||
import com.tinkerpop.blueprints.Vertex;
|
||||
|
||||
import edu.jhuapl.tinkerpop.AccumuloGraphConfiguration;
|
||||
import edu.jhuapl.tinkerpop.AccumuloGraphException;
|
||||
|
||||
/**
|
||||
* Utility class wrapping element caches.
|
||||
*/
|
||||
@@ -12,12 +12,14 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package edu.jhuapl.tinkerpop;
|
||||
package edu.jhuapl.tinkerpop.cache;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import edu.jhuapl.tinkerpop.AccumuloGraphConfiguration;
|
||||
|
||||
/**
|
||||
* Cache for storing element properties.
|
||||
* This supports a global timeout for key evictions,
|
||||
@@ -24,6 +24,8 @@ import com.tinkerpop.blueprints.Graph;
|
||||
import com.tinkerpop.blueprints.GraphFactory;
|
||||
import com.tinkerpop.blueprints.Vertex;
|
||||
|
||||
import edu.jhuapl.tinkerpop.cache.ElementCache;
|
||||
|
||||
public class ElementCacheTest {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -18,6 +18,8 @@ import static org.junit.Assert.*;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import edu.jhuapl.tinkerpop.cache.PropertyCache;
|
||||
|
||||
/**
|
||||
* Test the {@link PropertyCache} object.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user