Move cache items to their own package

This commit is contained in:
Michael Lieberman
2015-01-05 19:30:36 -05:00
parent 33042acedc
commit 25eb8e9979
8 changed files with 16 additions and 3 deletions

View File

@@ -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
*/

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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.
*/

View File

@@ -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,

View File

@@ -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

View File

@@ -18,6 +18,8 @@ import static org.junit.Assert.*;
import org.junit.Test;
import edu.jhuapl.tinkerpop.cache.PropertyCache;
/**
* Test the {@link PropertyCache} object.
*/