<commit_before>/**
 * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.sesame;

import com.opengamma.financial.analytics.timeseries.HistoricalTimeSeriesBundle;
import com.opengamma.financial.security.FinancialSecurity;
import com.opengamma.util.result.Result;

/**
 * The functionality on this interface will move. see SSM-215
 */
public interface HistoricalTimeSeriesFn {
  /**
   * Finds the fixing requirements for the security.
   * 
   * @param env the environment that the fixing requirements are needed for. 
   * @param security the security to return the fixings for.
   * @return the bundle of fixing requirements.
   */
  Result<HistoricalTimeSeriesBundle> getFixingsForSecurity(Environment env, FinancialSecurity security);
}<commit_msg>OpenGamma 2.2.0-M27p01 release<commit_after>/**
 * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.sesame;

import com.opengamma.financial.analytics.timeseries.HistoricalTimeSeriesBundle;
import com.opengamma.financial.security.FinancialSecurity;
import com.opengamma.sesame.cache.CacheLifetime;
import com.opengamma.sesame.cache.Cacheable;
import com.opengamma.util.result.Result;

/**
 * The functionality on this interface will move. see SSM-215
 */
public interface HistoricalTimeSeriesFn {
  /**
   * Finds the fixing requirements for the security.
   * 
   * @param env the environment that the fixing requirements are needed for. 
   * @param security the security to return the fixings for.
   * @return the bundle of fixing requirements.
   */
  @Cacheable(CacheLifetime.DAY)
  Result<HistoricalTimeSeriesBundle> getFixingsForSecurity(Environment env, FinancialSecurity security);
}
{'fraction_non_alphanumeric': 0.08274743104380747, 'fraction_numerical': 0.011357490535424553, 'mean_word_length': 4.572289156626506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1092055', 'n_tokens_mistral': 529, 'n_tokens_neox': 502, 'n_words': 161}