Spring Data MongoDB - Core

org.springframework.data.mongodb.core.geo
Class CustomMetric

java.lang.Object
  extended by org.springframework.data.geo.CustomMetric
      extended by org.springframework.data.mongodb.core.geo.CustomMetric
All Implemented Interfaces:
Serializable, Metric

Deprecated. As of release 1.5, replaced by Metric. This class is scheduled to be removed in the next major release.

@Deprecated
public class CustomMetric
extends CustomMetric
implements Metric

Value object to create custom Metrics on the fly.

Author:
Oliver Gierke, Thomas Darimont
See Also:
Serialized Form

Constructor Summary
CustomMetric(double multiplier)
          Deprecated. Creates a custom Metric using the given multiplier.
 
Method Summary
 
Methods inherited from class org.springframework.data.geo.CustomMetric
getMultiplier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.data.geo.Metric
getMultiplier
 

Constructor Detail

CustomMetric

public CustomMetric(double multiplier)
Deprecated. 
Creates a custom Metric using the given multiplier.

Parameters:
multiplier -

Spring Data MongoDB - Core

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.