More style changes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5248 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-07-22 13:02:13 +00:00
parent 09f8a25876
commit c743432676
38 changed files with 155 additions and 193 deletions
@@ -91,7 +91,7 @@ public abstract class PeerManager
/**
* Called when some possibly cached data has changed on one of our peer servers.
*/
public void changedCacheData (Streamable data);
void changedCacheData (Streamable data);
}
/**
@@ -103,25 +103,25 @@ public abstract class PeerManager
/**
* Called when this node has been forced to drop a lock.
*/
public void droppedLock (NodeObject.Lock lock);
void droppedLock (NodeObject.Lock lock);
}
/** Used by {@link #lookupNodeDatum}. */
public static interface Lookup<T>
{
public T lookup (NodeObject nodeobj);
T lookup (NodeObject nodeobj);
}
/** Used by {@link #applyToNodes}. */
public static interface Operation
{
public void apply (NodeObject nodeobj);
void apply (NodeObject nodeobj);
}
/** Used by {@link #invokeOnNodes}. */
public static interface Function
{
public void invoke (Client client, NodeObject nodeobj);
void invoke (Client client, NodeObject nodeobj);
}
/**
@@ -134,13 +134,13 @@ public abstract class PeerManager
* Called when the resource lock was acquired successfully. The lock will be released
* immediately after this function call finishes.
*/
public void run ();
void run ();
/**
* Called when the resource lock was not acquired successfully, with the name of the peer
* who is holding the lock (or null in case of a generic failure).
*/
public void fail (String peerName);
void fail (String peerName);
}
/**