yoshi | 28bac13 | 2014-01-22 11:00:17 -0800 | [diff] [blame] | 1 | package com.tinkerpop.rexster.config; |
| 2 | |
| 3 | import com.tinkerpop.blueprints.Graph; |
| 4 | import com.tinkerpop.blueprints.impls.ramcloud.RamCloudGraph; |
| 5 | import com.tinkerpop.rexster.config.GraphConfiguration; |
| 6 | import org.apache.commons.configuration.Configuration; |
| 7 | |
| 8 | |
| 9 | public class RamCloudGraphConfiguration implements GraphConfiguration { |
| 10 | |
| 11 | public Graph configureGraphInstance(final Configuration properties) throws GraphConfigurationException { |
| 12 | return new RamCloudGraph("fast+udp:host=127.0.0.1,port=12246"); |
| 13 | } |
| 14 | |
| 15 | } |