KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > impl > ManagedObjectReference


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.objectserver.impl;
5
6 import com.tc.object.cache.Cacheable;
7 import com.tc.objectserver.core.api.ManagedObject;
8
9 // TODO:: Remove Cacheable interface from this interface.
10

11 public interface ManagedObjectReference extends Cacheable {
12
13   public boolean getProcessPendingOnRelease();
14
15   public void setProcessPendingOnRelease(boolean b);
16
17   public void setRemoveOnRelease(boolean removeOnRelease);
18   
19   public boolean isRemoveOnRelease();
20
21   public void markReference();
22
23   public void unmarkReference();
24
25   public boolean isReferenced();
26
27   public boolean isNew();
28
29   public ManagedObject getObject();
30 }
31
Popular Tags