Abstract classes in Stateful functions

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Abstract classes in Stateful functions

danp
Hello again :-)

When using an abstract class should the instance variables be stored in PersistenceValues
to conform to the fault tolerance?

Exempel Car, Truck and Abstract Vehicle, should wheels in Vehicle be stored in a PersistenceValue?

Thanks, 

/Dan 
Reply | Threaded
Open this post in threaded view
|

Abstract classes in Stateful functions

Igal Shilman
Hi Dan,
Yes. You should be able to store “wheels” in “Vehicle”.

Igal.

On Monday, January 6, 2020, Dan Pettersson <[hidden email]> wrote:
Hello again :-)

When using an abstract class should the instance variables be stored in PersistenceValues
to conform to the fault tolerance?

Exempel Car, Truck and Abstract Vehicle, should wheels in Vehicle be stored in a PersistenceValue?

Thanks, 

/Dan 
Reply | Threaded
Open this post in threaded view
|

Re: Abstract classes in Stateful functions

danp
Thanks! 

Den tis 7 jan. 2020 12:49Igal Shilman <[hidden email]> skrev:
Hi Dan,
Yes. You should be able to store “wheels” in “Vehicle”.

Igal.

On Monday, January 6, 2020, Dan Pettersson <[hidden email]> wrote:
Hello again :-)

When using an abstract class should the instance variables be stored in PersistenceValues
to conform to the fault tolerance?

Exempel Car, Truck and Abstract Vehicle, should wheels in Vehicle be stored in a PersistenceValue?

Thanks, 

/Dan