01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.impl;
05:
06: import com.tc.object.cache.Cacheable;
07: import com.tc.objectserver.core.api.ManagedObject;
08:
09: // TODO:: Remove Cacheable interface from this interface.
10:
11: public interface ManagedObjectReference extends Cacheable {
12:
13: public void setRemoveOnRelease(boolean removeOnRelease);
14:
15: public boolean isRemoveOnRelease();
16:
17: public void markReference();
18:
19: public void unmarkReference();
20:
21: public boolean isReferenced();
22:
23: public boolean isNew();
24:
25: public ManagedObject getObject();
26: }
|