blob: fad056ee103aa0ab7a1696898b3d4d817865e430 [file] [log] [blame]
Yuta HIGUCHIa1e655a2014-01-23 17:43:11 -08001/* Copyright (c) 2013 Stanford University
2 *
3 * Permission to use, copy, modify, and distribute this software for any
4 * purpose with or without fee is hereby granted, provided that the above
5 * copyright notice and this permission notice appear in all copies.
6 *
7 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES
8 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR
10 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 */
15
yoshi28bac132014-01-22 11:00:17 -080016package com.tinkerpop.rexster.config;
17
18import com.tinkerpop.blueprints.Graph;
19import com.tinkerpop.blueprints.impls.ramcloud.RamCloudGraph;
20import com.tinkerpop.rexster.config.GraphConfiguration;
21import org.apache.commons.configuration.Configuration;
22
23
24public class RamCloudGraphConfiguration implements GraphConfiguration {
25
26 public Graph configureGraphInstance(final Configuration properties) throws GraphConfigurationException {
27 return new RamCloudGraph("fast+udp:host=127.0.0.1,port=12246");
28 }
29
30}