Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Develop partitioning facility applications with WSAD v5.1 > Use WSAD 5.1 with a new partitioned application > Add sample partitions
Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.
Update the isPartitionAlive method
Partitions may take advantage of the partition health checking mechanism. The isPartitionAlive method is invoked by the HA manager to interrogate the application to check the state of a partition. If the application can determine that a partition is healthy, then it should return true. Otherwise, it should return false.
The partition's isPartitionAlive method will be called when:
- The partition is activating. The partitionLoadEvent method has been called but has not yet returned. The isPartitionAlive must return true during this period.
- The partition is active. The partitionLoadEvent returned, and the cluster member is now hosting the active partition and receiving IIOP requests (or requests through other means). The isPartitionAlive method will be called periodically to check the partition health.
- The partition is deactivating. The partitionUnloadEvent has been called and the application is currently shutting down the partition on this cluster member.
public boolean isPartitionAlive(String partitionName) { return isMyParititionAlive(partitionName); }
Parent topic:
Add sample partitions
Related tasks