7.5. Summary

In this chapter, we've introduced the use of leases in space-based programming. We've seen how to manipulate lease objects, how to create and manage lease maps that allow multiple leases to be treated as a unit, and how to implement a lease renewal manager. So far, the leases we have worked with were the result of writing entries into spaces. In the next two chapters, we'll see that leases come into play in two other areas of space-based programming as well—distributed events and transactions. We'll see that we can apply the same techniques we've learned here.

Get JavaSpaces™ Principles, Patterns, and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.