public class Portfolio extends Object implements com.gemstone.gemfire.cache.Declarable, Serializable
Position objects that
represent shares of stock (a "security"). Instances of
Portfolio can be stored in a GemFire Region and
their contents can be queried using the GemFire query service.
This class is Serializable because we want it to be distributed
to multiple members of a distributed system. Because this class is
Declarable, we can describe instances of it in a GemFire
cache.xml file.
public void init(Properties props)
init in interface com.gemstone.gemfire.cache.Declarablepublic String getStatus()
public int getId()
public String getType()
public boolean isActive()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.