Examples of PropertyStat


Examples of com.linkedin.helix.store.PropertyStat

  }

  @Override
  public T get(String path, Stat stat, int options)
  {
    PropertyStat propertyStat = new PropertyStat();
    try
    {
      T value = _store.getProperty(path, propertyStat);
      if (stat != null)
      {
        stat.setVersion(propertyStat.getVersion());
        stat.setMtime(propertyStat.getLastModifiedTime());
      }
      return value;
    }
    catch (PropertyStoreException e)
    {
View Full Code Here

Examples of com.linkedin.helix.store.PropertyStat

public class TestPropertyStat
{
  @Test (groups = {"unitTest"})
  public void testPropertyStat()
  {
    PropertyStat stat = new PropertyStat(0, 0);
    AssertJUnit.assertEquals(0, stat.getLastModifiedTime());
    AssertJUnit.assertEquals(0, stat.getVersion());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.